Class ManualRecoveryHandler
A client reset strategy where the user needs to fully take care of a client reset.
Namespace: Realms.Sync.ErrorHandling
Assembly: Realm.dll
Syntax
public sealed class ManualRecoveryHandler : ClientResetHandlerBase
Constructors
| Edit this page View SourceManualRecoveryHandler(ClientResetCallback)
Initializes a new instance of the ManualRecoveryHandler class with the supplied client reset handler.
Declaration
public ManualRecoveryHandler(ClientResetHandlerBase.ClientResetCallback onClientReset)
Parameters
Type | Name | Description |
---|---|---|
ClientResetHandlerBase.ClientResetCallback | onClientReset | Callback triggered when a manual client reset happens. |
Properties
| Edit this page View SourceOnClientReset
Gets the callback to manually handle a Client Reset. A Client Reset should be handled as quickly as possible as any further changes to the Realm will not be synchronized with the server and must be moved manually from the backup Realm to the new one.
Declaration
public ClientResetHandlerBase.ClientResetCallback OnClientReset { get; }
Property Value
Type | Description |
---|---|
ClientResetHandlerBase.ClientResetCallback | Callback invoked on Client Reset. |