ConnectionState

enum ConnectionState

Represents underlying twilsock connection state.

Entries

FATAL_ERROR
Link copied to clipboard

Server has rejected enabling transport and customer action is required.

ERROR
Link copied to clipboard

Error in connecting or sending transport message. Possibly due to offline.

DENIED
Link copied to clipboard

Transport was not enabled because authentication token is invalid or not authorized.

DISCONNECTED
Link copied to clipboard

Transport is not working.

CONNECTED
Link copied to clipboard

Transport is working.

CONNECTING
Link copied to clipboard

Transport is trying to connect and register or trying to recover.

Functions

fromInt
Link copied to clipboard
open fun fromInt(value: Int): ConversationsClient.ConnectionState
valueOf
Link copied to clipboard
open fun valueOf(name: String): ConversationsClient.ConnectionState
values
Link copied to clipboard
open fun values(): Array<ConversationsClient.ConnectionState>

Properties

value
Link copied to clipboard
private val value: Int