Webcom Android SDK Public API Reference / com.orange.webcom.sdkv2.datasync / DatasyncState / ConnectionState

ConnectionState

sealed class ConnectionState

Represents the state of the real-time connection (web-socket) of a DatasyncService to the Webcom back end.

Types

Connected

data class Connected : DatasyncState.ConnectionState

The connection is established successfully.

Disconnected

data class Disconnected : DatasyncState.ConnectionState

The connection is not (yet) established. This may be either because the DatasyncService.shouldBeConnected has been set to false or because the Webcom back end cannot be reached from the running device.

Inheritors

Connected

data class Connected : DatasyncState.ConnectionState

The connection is established successfully.

Disconnected

data class Disconnected : DatasyncState.ConnectionState

The connection is not (yet) established. This may be either because the DatasyncService.shouldBeConnected has been set to false or because the Webcom back end cannot be reached from the running device.