BluetoothConnectionPriority enum
Android BLE 连接优先级。
该枚举主要用于 requestConnectionPriority;iOS/macOS/Linux/Windows/Web 会忽略并返回不支持。
Values
- balanced → const BluetoothConnectionPriority
-
均衡模式,常规业务推荐值。
- high → const BluetoothConnectionPriority
-
高优先级,适合短时间大数据传输,耗电更高。
- lowPower → const BluetoothConnectionPriority
-
低功耗,适合空闲保活或低频数据。
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<
BluetoothConnectionPriority> - A constant List of the values in this enum, in order of their declaration.