on Document State Changed
abstract fun onDocumentStateChanged(@NonNull instantDocument: InstantPdfDocument, @NonNull state: InstantDocumentState)
Called when the document changes its state.
Note: After onSyncStarted, this method may be called multiple times during the sync process.
Parameters
instant Document
Document which state has changed.
state
New document state.