ConnectionState

Represents underlying twilsock connection state.

Entries

Link copied to clipboard

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

Link copied to clipboard

Transport is working.

Link copied to clipboard

Transport is not working.

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

Server has rejected enabling transport and customer action is required.

Properties

Link copied to clipboard
val value: Int

Functions

Link copied to clipboard
Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.