PERIPHERAL_BINDING_STATE enum

Peripheral state enum that represents various peripheral device states.

Inheritance
Available extensions

Values

PERIPHERAL_BINDING_STATE_UNKNOWN → const PERIPHERAL_BINDING_STATE
PERIPHERAL_BINDING_STATE_NOT_CONNECTED → const PERIPHERAL_BINDING_STATE

< The current state is unknown. The state will change.

PERIPHERAL_BINDING_STATE_COMM_ERROR → const PERIPHERAL_BINDING_STATE

< The peripheral is currently not connected.

PERIPHERAL_BINDING_STATE_AUTHORIZED → const PERIPHERAL_BINDING_STATE

< Cannot communicate with the peripheral.

PERIPHERAL_BINDING_STATE_AUTHORIZING → const PERIPHERAL_BINDING_STATE

< The peripheral is authorized. Account ID can be read.

PERIPHERAL_BINDING_STATE_NOT_AUTHORIZED → const PERIPHERAL_BINDING_STATE

< The peripheral is in the middle of the registration process.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<PERIPHERAL_BINDING_STATE>
A constant List of the values in this enum, in order of their declaration.