AudioRoute enum

The type of the audio route.

Inheritance
Annotations
  • @JsonEnum(alwaysCreate: true)

Constructors

AudioRoute()
const

Values

routeDefault → const AudioRoute

-1: The default audio route.

routeHeadset → const AudioRoute

0: Audio output routing is a headset with microphone.

routeEarpiece → const AudioRoute

1: The audio route is an earpiece.

routeHeadsetnomic → const AudioRoute

2: The audio route is a headset without a microphone.

routeSpeakerphone → const AudioRoute

3: The audio route is the speaker that comes with the device.

routeLoudspeaker → const AudioRoute

4: The audio route is an external speaker. (iOS and macOS only)

routeUsb → const AudioRoute

6: The audio route is a USB peripheral device. (For macOS only)

routeHdmi → const AudioRoute

7: The audio route is an HDMI peripheral device. (For macOS only)

routeDisplayport → const AudioRoute

8: The audio route is a DisplayPort peripheral device. (For macOS only)

routeAirplay → const AudioRoute

9: The audio route is Apple AirPlay. (For macOS only)

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
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.