Package com.pspdfkit.document.providers
com.pspdfkit.document.providers.DataProvider interface (and common implementations) for loading PDF documents from arbitrary sources.
See: Description
-
Class Summary Class Description Builder Creates instances of the OutputStreamAdapter. OutputStreamAdapter The OutputStreamAdapter allows you to use a WritableDataProvider in APIs that expect an OutputStream. InputStreamDataProvider Abstract data provider that handles serving a PDF document from an InputStream. AssetDataProvider Data provider for opening PDF documents directly from the app's assets. ContextDataProvider Abstract data provider that allows subclasses to retrieve the application context by calling . ContentResolverDataProvider Data provider for opening PDF documents directly from a ContentProvider using Android's content resolver framework. DirectWritingStrategy A WritingStrategy that immediately writes to the WritableDataProvider. TempFileWritingStrategy A WritingStrategy that writes to a temporary file and writes to the [ ] only when all data was written. -
Interface Summary Interface Description DataProvider A data provider is allows PSPDFKit to load a PDF document for any custom source (e.g. UriDataProvider A DataProvider that can return the source Uri it was created from. WritableDataProvider WritableDataProvider is an interface which should be implemented by any DataProvider that should support saving PDF documents. ProgressDataProvider ProgressDataProvider is an interface which should be implemented by any DataProvider that should support providing document loading progress updates. WritingStrategy WritingStrategy is used by the OutputStreamAdapter to determine how writing to the WritableDataProvider is handled. -
Enum Summary Enum Description WriteMode Describes possible write modes for the output. -
Object Summary Object Description Companion