DeviceState enum
标示蓝牙设备当前状态
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
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.