on Document State Changed
open override fun onDocumentStateChanged(instantDocument: InstantPdfDocument, 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.