Package-level declarations
com.pspdfkit.document.providers.DataProvider interface (and common implementations) for loading PDF documents from arbitrary sources.
Types
Data provider for opening PDF documents directly from the app's assets.
Data provider for opening PDF documents directly from a ContentProvider using Android's content resolver framework. PSPDFKit internally uses this data provider when loading a document from an Uri
that uses the content://
or file://
scheme.
Abstract data provider that allows subclasses to retrieve the application context by calling .getContext. Calling the method before initializing PSPDFKit will throw an exception.
A WritingStrategy that immediately writes to the WritableDataProvider.
ProgressDataProvider is an interface which should be implemented by any DataProvider that should support providing document loading progress updates.
A WritingStrategy that writes to a temporary file and writes to the [ ] only when all data was written.
A DataProvider that can return the source Uri it was created from. .
WritableDataProvider is an interface which should be implemented by any DataProvider that should support saving PDF documents. Classes implementing this interface must implement all methods from this interface and from DataProvider interface for document loading and saving to work properly.
WritingStrategy is used by the OutputStreamAdapter to determine how writing to the WritableDataProvider is handled. Writing works in three steps: