showInstantDocument

open fun showInstantDocument(@NonNull context: Context, @NonNull serverUrl: String, @NonNull jwt: String, @Nullable configuration: PdfActivityConfiguration)

Opens a new InstantPdfActivity displaying server document.

Parameters

context

Calling context

serverUrl

Url of the Instant Server (PSPDFKit Document Engine) - used to initialize InstantClient.

jwt

Authentication token used to authenticate access to the document.

configuration

Desired activity configuration generated with