BluetoothMode enum

The Bluetooth profiles.

For iOS only.

Inheritance
Available extensions

Values

auto → const BluetoothMode

The default mode:

Scenario HFP A2DP
The in-call volume is set in all scenarios. HFP is supported by your Bluetooth device. HFP is not supported by your Bluetooth device.
The media volume is set in all scenarios. Audio is captured and played by your Bluetooth device. Audio is captured by your iOS device and played by your Bluetooth device.
a2dp → const BluetoothMode

Advanced Audio Distribution Profile(A2DP). This profile defines how high-quality audio (stereo or mono) can be streamed from one device to another over a Bluetooth connection. Audio is captured by your iOS device and played by your Bluetooth device.

hfp → const BluetoothMode

Hands-Free Profile(HFP). This profile defines how voice-quality, mono audio can be streamed from one device to another. Audio is captured and played by your Bluetooth device.

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.