Skip to main content

BleConnectionState

Enum Class: BleConnectionState

Represents BLE Connection State

Properties

name: String

ordinal: Int

Connection States

CONNECTED

CONNECTED

Ble Terminal has connected to the device and ready to send action

DISCONNECTED

DISCONNECTED  

Ble Terminal is disconnected

CONNECTING

CONNECTING

Ble Terminal is in the process of connecting

Functions

valueOf(value: String): BleConnectionState

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.)

Throws IllegalArgumentException if this enum type has no constant with the specified name

values(): Array<BleConnectionState>

Returns an array containing the constants of this enum type, in the order they're declared.

See Also