on Sync Error
abstract fun onSyncError(@NonNull instantDocument: InstantPdfDocument, @NonNull error: InstantException)
Called when annotation sync has been finished with an error.
The most likely reason is network failure REQUEST_FAILED. Other common reasons are expiration of your authentication token AUTHENTICATION_FAILED, and cancellation USER_CANCELLED.
Parameters
instant Document
Document that was syncing the annotations.
error
Error thrown while syncing annotations.
See also
Instant Exception