Class SyncConfigurationBase
A Sync
Inheritance
Inherited Members
Namespace: Realms.Sync
Assembly: Realm.dll
Syntax
public abstract class SyncConfigurationBase : RealmConfigurationBase
Properties
| Edit this page View SourceCancelAsyncOperationsOnNonFatalErrors
Gets or sets a value indicating whether async operations, such as Get
Declaration
public bool CancelAsyncOperationsOnNonFatalErrors { get; set; }
Property Value
Type | Description |
---|---|
bool |
|
Remarks
If set to false
, non-fatal session errors will be ignored and sync will continue retrying the
connection under in the background. This means that in cases where the device is offline, these operations
may take an indeterminate time to complete.
ClientResetHandler
Gets or sets a handler that will be invoked if a client reset error occurs for this Realm. Default is Recover
Declaration
public virtual ClientResetHandlerBase ClientResetHandler { get; set; }
Property Value
Type | Description |
---|---|
Client |
The Client |
Remarks
Supported values are instances of Recover
See Also
| Edit this page View SourceEncryptionKey
Gets or sets the key, used to encrypt the entire Realm. Once set, must be specified each time the file is used.
Declaration
public byte[]? EncryptionKey { get; set; }
Property Value
Type | Description |
---|---|
byte[] | Full 64byte (512bit) key for AES-256 encryption. |
OnSessionError
Gets or sets a callback that will be invoked whenever a Session
Declaration
public SyncConfigurationBase.SessionErrorCallback? OnSessionError { get; set; }
Property Value
Type | Description |
---|---|
Sync |
The Sync |
Remarks
Client reset errors will not be reported through this callback as they are handled by the set Client
User
Gets the User used to create this Sync
Declaration
public User User { get; }