openDocument

Downloads and opens document from Instant Server (PSPDFKit Document Engine) synchronously.

Return

Opened document (InstantPdfDocument).

Parameters

jwt

The JWT defining the document and its layer.

Throws

when server document download fails.

when the document data on disk could not be accessed (e.g. due to permission errors, or data corruption), or when the data on disk belongs to another user than what is encoded in the JWT.