Disconnected
data class Disconnected(val backendTimeOffsetMilliseconds: Long? = null, val isInitializing: Boolean = false) : DatasyncState.ConnectionState
The connection is not (yet) established. This may be either because the DatasyncService.isConnectionEnabled has been set to false
or because the Webcom back end cannot be reached from the running device.
Properties
Link copied to clipboard
Time offset measured at the establishment of the real time connection to the Webcom back end between the running device clock and the Webcom back end clock.
Link copied to clipboard
Indicates whether the connection is being initialized. If so, the initialization may either end in the Connected state if connection succeeds or stay in the Disconnected state if the connection fails.