Search Results for

    Show / Hide Table of Contents

    Namespace Realms.Sync.ErrorHandling

    Classes

    ClientResetHandlerBase

    The base class for the different types of client reset handlers. The possible implementations are RecoverOrDiscardUnsyncedChangesHandler, RecoverUnsyncedChangesHandler, DiscardUnsyncedChangesHandler and ManualRecoveryHandler. To use either of them, create a new instance and assign it to ClientResetHandler on the configuration you use to open the synchronized Realm instance.

    DiscardUnsyncedChangesHandler

    A client reset strategy where all the not yet synchronized data is automatically discarded and a fresh copy of the synchronized Realm is obtained.

    ManualRecoveryHandler

    A client reset strategy where the user needs to fully take care of a client reset.

    RecoverOrDiscardUnsyncedChangesHandler

    A client reset strategy that attempts to automatically recover any unsynchronized changes. If that fails, this handler falls back to the discard unsynced changes strategy.

    RecoverUnsyncedChangesHandler

    A client reset strategy that attempts to automatically recover any unsynchronized changes.

    Delegates

    ClientResetHandlerBase.AfterResetCallback

    Callback that indicates a Client Reset has just happened.

    ClientResetHandlerBase.BeforeResetCallback

    Callback that indicates a Client Reset is about to happen.

    ClientResetHandlerBase.ClientResetCallback

    Callback triggered when a Client Reset error happens in a synchronized Realm.

    In This Article
    Back to top Copyright © 2020-2023 Realm
    Generated by DocFX