Sync

interface Sync

A Device Sync manager responsible for controlling all sync sessions across all realms associated with a given App instance. For session functionality associated with a single realm, see syncSession.

See also

Properties

Link copied to clipboard
abstract val hasSyncSessions: Boolean

Returns whether or not any sync sessions are still active.

Functions

Link copied to clipboard
abstract fun reconnect()

Realm will automatically detect when a device gets connectivity after being offline and resume syncing. However, as some of these checks are performed using incremental backoff, this will in some cases not happen immediately.

Link copied to clipboard

Calling this method will block until all sync sessions for a given App has terminated.