InstantDocumentListener

class InstantDocumentListener(val onAuthenticationFailed: (InstantPdfDocument, InstantException) -> Unit? = null, val onAuthenticationFinished: (InstantPdfDocument, String) -> Unit? = null, val onSyncStarted: (InstantPdfDocument) -> Unit? = null, val onSyncError: (InstantPdfDocument, InstantException) -> Unit? = null, val onSyncFinished: (InstantPdfDocument) -> Unit? = null, val onDocumentStateChanged: (InstantPdfDocument, InstantDocumentState) -> Unit? = null, val onDocumentCorrupted: (InstantPdfDocument) -> Unit? = null, val onDocumentInvalidated: (InstantPdfDocument) -> Unit? = null)

Wrapper for holding InstantDocumentListener callbacks for real-time collaboration events.

Constructors

Link copied to clipboard
constructor(onAuthenticationFailed: (InstantPdfDocument, InstantException) -> Unit? = null, onAuthenticationFinished: (InstantPdfDocument, String) -> Unit? = null, onSyncStarted: (InstantPdfDocument) -> Unit? = null, onSyncError: (InstantPdfDocument, InstantException) -> Unit? = null, onSyncFinished: (InstantPdfDocument) -> Unit? = null, onDocumentStateChanged: (InstantPdfDocument, InstantDocumentState) -> Unit? = null, onDocumentCorrupted: (InstantPdfDocument) -> Unit? = null, onDocumentInvalidated: (InstantPdfDocument) -> Unit? = null)

Properties

Link copied to clipboard

Callback invoked when Instant authentication fails.

Link copied to clipboard

Callback invoked when Instant authentication completes successfully.

Link copied to clipboard

Callback invoked when the Instant document becomes corrupted.

Link copied to clipboard

Callback invoked when the Instant document is invalidated.

Link copied to clipboard

Callback invoked when the Instant document state changes.

Link copied to clipboard

Callback invoked when Instant synchronization encounters an error.

Link copied to clipboard

Callback invoked when Instant synchronization completes.

Link copied to clipboard

Callback invoked when Instant synchronization begins.