Disconnected

data class Disconnected(backendTimeOffsetMilliseconds: Long?, isInitializing: Boolean) : 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.

Constructors

Disconnected
Link copied to clipboard
fun Disconnected(backendTimeOffsetMilliseconds: Long? = null, isInitializing: Boolean = false)

Properties

backendTimeOffsetMilliseconds
Link copied to clipboard
open override val backendTimeOffsetMilliseconds: Long? = null

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.

isInitializing
Link copied to clipboard
val isInitializing: Boolean = false

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.