A SyncConfiguration represents configuration parameters for Realms intended to sync with Atlas App Services.

  • The SyncUser who owns the Realm that this configuration should open.

  • The value this Realm is partitioned on. The partition key is a property defined in Atlas App Services. All classes with a property with this value will be synchronized to the Realm.

  • An enum which determines file recovery behavior in the event of a client reset.


    Defaults to .recoverUnsyncedChanges


    ClientResetMode and RLMClientResetMode

  • By default, Realm.asyncOpen() swallows non-fatal connection errors such as a connection attempt timing out and simply retries until it succeeds. If this is set to true, instead the error will be reported to the callback and the async open will be cancelled.