DeviceState enum

标示蓝牙设备当前状态

Inheritance

Constructors

DeviceState()
const

Values

disconnected → const DeviceState

未连接

disConnecting → const DeviceState

正在断开连接

connecting → const DeviceState

连接中

connected → const DeviceState

已连接

connectTimeout → const DeviceState

连接超时

initiativeDisConnected → const DeviceState

主动去断开连接

destroyed → const DeviceState

已销毁

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
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<DeviceState>
A constant List of the values in this enum, in order of their declaration.