Instant Document Descriptor
Descriptor/handle for InstantPdfDocument that provides methods for downloading/opening instant documents.
Each descriptor describes a single Instant document layer defined by the Document id and layer name. Both of these are encoded in the JWT used for authentication provided via openDocumentAsync or downloadDocumentAsync.
Properties
Functions
Link copied to clipboard
Downloads document from Instant Server (PSPDFKit Document Engine) asynchronously.
Link copied to clipboard
Returns the creator name set in the JWT — if any.
Link copied to clipboard
Document Id of the managed document.
Link copied to clipboard
Name of the managed document layer.
Link copied to clipboard
Check whether document is already downloaded.
Link copied to clipboard
Downloads and opens document from Instant Server (PSPDFKit Document Engine) (synchronously).
Link copied to clipboard
Downloads and opens document from Instant Server (PSPDFKit Document Engine) asynchronously.
Link copied to clipboard
Removes local storage for this layer.