Content Resolver Data Provider
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.
Creates the data provider for loading a document from the given content provider uri.
Parameters
A content provider URI with supported scheme (content:// or file://).
Types
Companion object containing constants for ContentResolverDataProvider.
Properties
Functions
Returns 0 as this Parcelable has no special contents.
Completes the write operation and flushes all data.
Returns the size of the document in bytes, or DataProvider.FILE_SIZE_UNKNOWN if the size cannot be determined.
Begins a write operation to the content provider URI.
Checks whether the content provider supports appending data to an existing file.
Writes the content provider URI to the parcel for serialization.