ClientResetRequiredException

class ClientResetRequiredException(appPointer: <ERROR CLASS>, error: <ERROR CLASS>) : 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

ClientResetRequiredException
Link copied to clipboard
fun ClientResetRequiredException(appPointer: <ERROR CLASS>, error: <ERROR CLASS>)

Functions

executeClientReset
Link copied to clipboard
fun executeClientReset(): Boolean

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

Properties

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

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

recoveryFilePath
Link copied to clipboard
val recoveryFilePath: String

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