Delegate ClientResetHandlerBase.BeforeResetCallback
Callback that indicates a Client Reset is about to happen.
Namespace: Realms.Sync.ErrorHandling
Assembly: Realm.dll
Syntax
public delegate void ClientResetHandlerBase.BeforeResetCallback(Realm beforeFrozen)
Parameters
Type | Name | Description |
---|---|---|
Realm | beforeFrozen | The frozen Realm before the reset. |
Remarks
The lifetime of the Realm is tied to the callback, so don't store references to the Realm or objects obtained from it for use outside of the callback. If you need to preserve the state as it was, use WriteCopy(RealmConfigurationBase) to create a backup.