Struct App.SyncClient
A sync manager, handling synchronization of local Realm with MongoDB Atlas. It is always scoped to a particular app and can only be accessed via Sync.
Inherited Members
Namespace: Realms.Sync
Assembly: Realm.dll
Syntax
public readonly struct App.SyncClient
Methods
| Edit this page View SourceReconnect()
Attempt to reconnect all Sync sessions for the app.
Declaration
public void Reconnect()
Remarks
Realm will automatically detect when a device gets connectivity after being offline and resume syncing. However, some of these checks are performed using incremental backoff, which means that there are cases when automatic reconnection doesn't happen immediately. In those cases, it can be beneficial to call this method manually, which will force all sessions to attempt to reconnect and in the process, reset any timers, that are used for incremental backoff.