AssetDataProvider

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

Constructors

Link copied to clipboard
constructor(@NonNull assetName: String)
Default constructor taking the assetName of a document.

Properties

Link copied to clipboard
A field that generates the instances of this class from the provided Parcel.
Link copied to clipboard
open val size: Long

Functions

Link copied to clipboard
open fun describeContents(): Int
Link copied to clipboard
open fun getTitle(): String
Displayable document title to be used if PDF document does not contain metadata.
Link copied to clipboard
open fun getUid(): String
Unique document identifier used in all caching processes in PSPDFKit.
Link copied to clipboard
open fun getUri(): Uri
Returns the Uri from which this provided was created.
Link copied to clipboard
open fun writeToParcel(@NonNull dest: Parcel, flags: Int)