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.

Constructors

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

Properties

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.

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.