Instant Document Listener
interface InstantDocumentListener
Listener for com.pspdfkit.instant.document.InstantPdfDocument events.
Inheritors
Functions
Link copied to clipboard
abstract fun onAuthenticationFailed(@NonNull instantDocument: InstantPdfDocument, @NonNull error: InstantException)
Called when authentication with Instant Server (PSPDFKit Document Engine) has failed.
Link copied to clipboard
abstract fun onAuthenticationFinished(@NonNull instantDocument: InstantPdfDocument, @NonNull validJwt: String)
Called when authentication with Instant Server (PSPDFKit Document Engine) has successfully finished.
Link copied to clipboard
Called when InstantPdfDocument has detected data corruption.
Link copied to clipboard
Called when InstantPdfDocument becomes invalid.
Link copied to clipboard
abstract fun onDocumentStateChanged(@NonNull instantDocument: InstantPdfDocument, @NonNull state: InstantDocumentState)
Called when the document changes its state.
Link copied to clipboard
abstract fun onSyncError(@NonNull instantDocument: InstantPdfDocument, @NonNull error: InstantException)
Called when annotation sync has been finished with an error.
Link copied to clipboard
Called when annotation sync has been finished successfully.
Link copied to clipboard
Called when annotation sync has been started.