SimpleInstantDocumentListener

Deprecated

Use InstantDocumentListener directly; default interface methods already provide empty implementations.

Empty implementation of InstantDocumentListener.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
Called when authentication with Instant Server (Nutrient Document Engine) has failed.
Link copied to clipboard
open fun onAuthenticationFinished(@NonNull instantDocument: InstantPdfDocument, @NonNull validJwt: String)
Called when authentication with Instant Server (Nutrient Document Engine) has successfully finished.
Link copied to clipboard
open fun onDocumentCorrupted(@NonNull instantDocument: InstantPdfDocument)
Called when InstantPdfDocument has detected data corruption.
Link copied to clipboard
open fun onDocumentInvalidated(@NonNull instantPdfDocument: InstantPdfDocument)
Called when InstantPdfDocument becomes invalid.
Link copied to clipboard
Called when the document changes its state.
Link copied to clipboard
open fun onSyncError(@NonNull instantDocument: InstantPdfDocument, @NonNull error: InstantException)
Called when annotation sync has been finished with an error.
Link copied to clipboard
open fun onSyncFinished(@NonNull instantDocument: InstantPdfDocument)
Called when annotation sync has been finished successfully.
Link copied to clipboard
open fun onSyncStarted(@NonNull instantDocument: InstantPdfDocument)
Called when annotation sync has been started.