onAuthenticationFailed

abstract fun onAuthenticationFailed(@NonNull instantDocument: InstantPdfDocument, @NonNull error: InstantException)

Called when authentication with Instant Server (PSPDFKit Document Engine) has failed.

Parameters

instantDocument

Document that we were authenticating for.

error

Authentication error.