Types

Link copied to clipboard

Thrown when we run into file system issues with the download file for the download job

Link copied to clipboard

Thrown if you try to open a remote document/image with any of the com.pspdfkit.document.PdfDocumentLoader or com.pspdfkit.document.ImageDocumentLoader open methods on the main thread. To open a remote document off the main thread, call the suspend openDocumentAsync(...) from a coroutine (it offloads its work to a background dispatcher), e.g.:

Link copied to clipboard
class NetworkException(detailMessage: String?, cause: Throwable) : DownloadException

Something network related occurred during the download process. Usually an IOException, the original exception can be accessed through cause

Link copied to clipboard

Thrown when there is not enough disk space to download the document.

Link copied to clipboard

Thrown when we run into file system issues with the output file for the download job.

Link copied to clipboard

Thrown when we can't create the folder for the downloaded file.