BluetoothTxPowerLevel enum

BLE 广播发射功率。

默认推荐 medium。Android 会应用该设置;iOS/macOS 当前忽略。

Inheritance
Available extensions

Values

ultraLow → const BluetoothTxPowerLevel

超低功率,范围最小、最省电。

low → const BluetoothTxPowerLevel

低功率。

medium → const BluetoothTxPowerLevel

中等功率,默认值,常规推荐。

high → const BluetoothTxPowerLevel

高功率,范围更大但更耗电。

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<BluetoothTxPowerLevel>
A constant List of the values in this enum, in order of their declaration.