onDocumentStateChanged

Called when the document changes its state.

Note: After onSyncStarted, this method may be called multiple times during the sync process.

Parameters

instantDocument

Document which state has changed.

state

New document state.