ClientResetRequiredException

class ClientResetRequiredException(appPointer: RealmAppPointer, error: SyncError) : Throwable

Class encapsulating information needed for handling a Client Reset event.

See: Client Reset for more information about when and why Client Reset occurs and how to deal with it.

Constructors

Link copied to clipboard
constructor(appPointer: RealmAppPointer, error: SyncError)

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
open val message: String?
Link copied to clipboard

Path to the original (local) copy of the realm when the Client Reset event was triggered. This realm may contain unsynced changes.

Link copied to clipboard

Path to the recovery (remote) copy of the realm downloaded from the backend.

Functions

Link copied to clipboard

Calling this method will execute the Client Reset manually instead of waiting until the next app restart.