AudioRoute enum

Audio routing types.

Inheritance
Available extensions
Annotations
  • @JsonEnum.new(alwaysCreate: true)

Values

routeDefault → const AudioRoute

-1: Use the default audio route.

routeHeadset → const AudioRoute

0: Audio routed to a headset with microphone.

routeEarpiece → const AudioRoute

1: Audio routed to the earpiece.

routeHeadsetnomic → const AudioRoute

2: Audio routed to a headset without microphone.

routeSpeakerphone → const AudioRoute

3: Audio routed to the device's built-in speaker.

routeLoudspeaker → const AudioRoute

4: Audio routed to an external speaker. (iOS and macOS only)

routeBluetoothDeviceHfp → const AudioRoute

@nodoc

routeUsb → const AudioRoute

6: Audio routed to a USB peripheral device. (macOS only)

routeHdmi → const AudioRoute

7: Audio routed to an HDMI peripheral device. (macOS only)

routeDisplayport → const AudioRoute

8: Audio routed to a DisplayPort peripheral device. (macOS only)

routeAirplay → const AudioRoute

9: Audio routed to Apple AirPlay. (macOS only)

routeBluetoothDeviceA2dp → const AudioRoute

@nodoc

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