BluetoothMode enum

@brief Bluetooth transport protocol @note Only applicable to iOS.

Inheritance
Available extensions

Values

auto → const BluetoothMode

@brief Default to auto mode, as follows:

Scenario HFP A2DP
Pure call scenario Bluetooth device supports HFP Bluetooth device does not support HFP
Pure media scenario Use Bluetooth device to capture and play audio Use iOS device to capture audio, Bluetooth device to play audio
a2dp → const BluetoothMode

@brief Advanced Audio Distribution Profile (A2DP). Stereo, high-quality audio. Use iOS device to capture audio, Bluetooth device to play audio.

hfp → const BluetoothMode

@brief Hands-Free Profile (HFP). Mono, normal quality. Both audio capture and playback devices use Bluetooth devices.

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.