BluetoothMode enum
蓝牙传输协议
仅 iOS 适用。
Values
- auto → const BluetoothMode
-
默认采用 auto 模式,具体如下:
场景 HFP A2DP 纯通话场景 蓝牙设备支持 HFP 蓝牙设备不支持 HFP 纯媒体场景 使用蓝牙设备采集播放音频 使用 iOS 设备采集音频,蓝牙设备播放音频 - a2dp → const BluetoothMode
-
高级音频分配配置文件(A2DP)。立体声、高音质。采用 iOS 设备进行音频采集,蓝牙设备进行播放。
- hfp → const BluetoothMode
-
免提配置文件(HFP)。单声道、普通音质。音频采集和播放设备都使用蓝牙设备。
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<
BluetoothMode> - A constant List of the values in this enum, in order of their declaration.