Show / Hide Table of Contents

    Class FullSyncConfiguration

    A FullSyncConfiguration is used to setup a Realm that can be synchronized in "full" mode between devices using the Realm Object Server. The entirety of the Realm will be kept in sync between the server and the client.

    Inheritance
    Object
    RealmConfigurationBase
    SyncConfigurationBase
    FullSyncConfiguration
    Inherited Members
    SyncConfigurationBase.ServerUri
    SyncConfigurationBase.User
    SyncConfigurationBase.EnableSSLValidation
    SyncConfigurationBase.TrustedCAPath
    SyncConfigurationBase.OnProgress
    SyncConfigurationBase.LogLevel
    SyncConfigurationBase.CustomLogger
    SyncConfigurationBase.UserAgent
    SyncConfigurationBase.Initialize(UserPersistenceMode, Byte[], Boolean, String)
    SyncConfigurationBase.EnableSessionMultiplexing()
    RealmConfigurationBase.DefaultRealmName
    RealmConfigurationBase.DatabasePath
    RealmConfigurationBase.IsDynamic
    RealmConfigurationBase.ObjectClasses
    RealmConfigurationBase.GetPathToRealm(String)
    RealmConfigurationBase.SchemaVersion
    RealmConfigurationBase.EncryptionKey
    Namespace: Realms.Sync
    Assembly: Realm.dll
    Syntax
    public class FullSyncConfiguration : SyncConfigurationBase

    Constructors

    | Improve this Doc View Source

    FullSyncConfiguration(Uri, User, String)

    Initializes a new instance of the FullSyncConfiguration class.

    Declaration
    public FullSyncConfiguration(Uri serverUri, User user = null, string optionalPath = null)
    Parameters
    Type Name Description
    Uri serverUri

    A unique Uri that identifies the Realm. In URIs, ~ can be used as a placeholder for a user Id. If a relative Uri is provided, it will be resolved using the user's ServerUri as baseUri.

    User user

    A valid User. If not provided, the currently logged-in user will be used.

    String optionalPath

    Path to the realm, must be a valid full path for the current platform, relative subdirectory, or just filename.

    Properties

    | Improve this Doc View Source

    ClientResyncMode

    Gets or sets a value controlling the behavior in case of a Client Resync. Default is RecoverLocalRealm

    Declaration
    public ClientResyncMode ClientResyncMode { get; set; }
    Property Value
    Type Description
    ClientResyncMode

    See Also

    Full Synchronization docs.
    QueryBasedSyncConfiguration
    • Improve this Doc
    • View Source
    Back to top Copyright © 2019 Realm
    Generated by DocFX