Class App.SyncClient
A sync manager, handling synchronization of local Realm with remote MongoDB Realm apps. It is always scoped to a particular app and can only be accessed via Sync.
Namespace: Realms.Sync
Assembly: Realm.dll
Syntax
public class SyncClient
Methods
| Improve this Doc View SourceReconnect()
Attempt to reconnect all Session 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.