load
Load PDF using custom DocumentSource.
Parameters
The {@link DocumentSource} to use for loading the PDF document.
A lambda function to configure the PDF request using a {@link PdfRequest.Builder} instance.
See also
Load PDF from the assets file.
Parameters
The name of the asset file containing the PDF document.
A lambda function to configure the PDF request using a {@link PdfRequest.Builder} instance.
See also
Load PDF from a file.
Parameters
The {@link File} containing the PDF document.
A lambda function to configure the PDF request using a {@link PdfRequest.Builder} instance.
See also
Load PDF from a URI. Useful for content providers.
Parameters
The {@link Uri} pointing to the PDF document.
A lambda function to configure the PDF request using a {@link PdfRequest.Builder} instance.
See also
Load PDF from a byte array. Document is not saved on disk.
Parameters
The byte array containing the PDF document content.
A lambda function to configure the PDF request using a {@link PdfRequest.Builder} instance.
See also
Load PDF from an {@link InputStream}. The stream is converted to a byte array, since native code does not support direct stream handling.
Parameters
The {@link InputStream} containing the PDF document content.
A lambda function to configure the PDF request using a {@link PdfRequest.Builder} instance.