open Document Async
Opens an image document from a Uri. Remote Uri's are supported and automatically downloaded.
May fail with a com.pspdfkit.document.download.exceptions.DownloadException if anything happened during the download of a remote Uri.
Return
The opened ImageDocument.
Parameters
Application context.
Uri pointing to the PDF document.
Throws
If PSPDFKit was not initialized with com.pspdfkit.Nutrient.initialize call.
Opens an image document from a Uri. Remote Uri's are supported and automatically downloaded.
May fail with a com.pspdfkit.document.download.exceptions.DownloadException if anything happened during the download of a remote Uri.
Return
The opened ImageDocument.
Parameters
Application context.
DocumentSource describing the source of the image document.
Throws
If PSPDFKit was not initialized with com.pspdfkit.Nutrient.initialize call.