Show / Hide Table of Contents

    Class SyncConfigurationBase

    A SyncConfigurationBase is used to setup a Realm that can be synchronized between devices using the Realm Object Server.

    Inheritance
    Object
    RealmConfigurationBase
    SyncConfigurationBase
    FullSyncConfiguration
    QueryBasedSyncConfiguration
    SyncConfiguration
    Inherited Members
    RealmConfigurationBase.DefaultRealmName
    RealmConfigurationBase.DatabasePath
    RealmConfigurationBase.IsDynamic
    RealmConfigurationBase.ObjectClasses
    RealmConfigurationBase.GetPathToRealm(String)
    RealmConfigurationBase.SchemaVersion
    RealmConfigurationBase.EncryptionKey
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: Realms.Sync
    Assembly: Realm.Sync.dll
    Syntax
    public abstract class SyncConfigurationBase : RealmConfigurationBase

    Properties

    | Improve this Doc View Source

    EnableSSLValidation

    Gets or sets a value indicating whether SSL certificate validation is enabled for the connection associated with this configuration value.

    Declaration
    public bool EnableSSLValidation { get; set; }
    Property Value
    Type Description
    Boolean

    true if SSL validation is enabled; otherwise, false. Default value is true.

    | Improve this Doc View Source

    LogLevel

    Gets or sets a value indicating how detailed the sync client's logs will be.

    Declaration
    public static LogLevel LogLevel { get; set; }
    Property Value
    Type Description
    LogLevel
    | Improve this Doc View Source

    ServerUri

    Gets the Uri used to create this SyncConfigurationBase.

    Declaration
    public Uri ServerUri { get; }
    Property Value
    Type Description
    Uri

    The Uri where the Realm Object Server is hosted.

    | Improve this Doc View Source

    TrustedCAPath

    Gets or sets the path to the trusted root certificate(s) authority (CA) in PEM format, that should be used to validate the TLS connections to the Realm Object Server.

    Declaration
    public string TrustedCAPath { get; set; }
    Property Value
    Type Description
    String

    The path to the certificate.

    Remarks

    The file will be copied at runtime into the internal storage.
    It is recommended to include only the root CA you trust, and not the entire list of root CA as this file will be loaded at runtime. It is your responsibility to download and verify the correct PEM for the root CA you trust.
    This property is ignored on Apple platforms - you should use the KeyChain API to install your certificate instead.

    See Also
    OpenSSL documentation for SSL_CTX_load_verify_locations.
    Mozilla Included CA Certificate List
    | Improve this Doc View Source

    User

    Gets the User used to create this SyncConfigurationBase.

    Declaration
    public User User { get; }
    Property Value
    Type Description
    User

    The User whose Realms will be synced.

    See Also

    LoginAsync(Credentials, Uri)
    Credentials
    FullSyncConfiguration
    QueryBasedSyncConfiguration
    • Improve this Doc
    • View Source
    Back to top Copyright © 2017 Realm
    Generated by DocFX