Package-level declarations

com.pspdfkit.document.providers.DataProvider interface (and common implementations) for loading PDF documents from arbitrary sources.

Types

Link copied to clipboard

Data provider for opening PDF documents directly from the app's assets.

Link copied to clipboard

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.

Link copied to clipboard

Abstract data provider that allows subclasses to retrieve the application context by calling .getContext. Calling the method before initializing PSPDFKit will throw an exception.

Link copied to clipboard
interface DataProvider
A data provider is allows PSPDFKit to load a PDF document for any custom source (e.g.
Link copied to clipboard
Link copied to clipboard
Abstract data provider that handles serving a PDF document from an InputStream.
Link copied to clipboard
The OutputStreamAdapter allows you to use a WritableDataProvider in APIs that expect an OutputStream.
Link copied to clipboard

ProgressDataProvider is an interface which should be implemented by any DataProvider that should support providing document loading progress updates.

Link copied to clipboard

A WritingStrategy that writes to a temporary file and writes to the [ ] only when all data was written.

Link copied to clipboard
interface UriDataProvider

A DataProvider that can return the source Uri it was created from. .

Link copied to clipboard

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.

Link copied to clipboard
interface WritingStrategy

WritingStrategy is used by the OutputStreamAdapter to determine how writing to the WritableDataProvider is handled. Writing works in three steps: