AudioOutputRouting enum

The type of the audio route.

Inheritance

Constructors

AudioOutputRouting()
const

Values

Default → const AudioOutputRouting

-1: The default audio route.

Headset → const AudioOutputRouting

0: The headset.

Earpiece → const AudioOutputRouting

1: The earpiece.

HeadsetNoMic → const AudioOutputRouting

2: The headset with no microphone.

Speakerphone → const AudioOutputRouting

3: The built-in speaker on a mobile device.

Loudspeaker → const AudioOutputRouting

4: The external speaker.

HeadsetBluetooth → const AudioOutputRouting

5: The bluetooth headset.

USB → const AudioOutputRouting

6: The USB peripheral (macOS only).

HDMI → const AudioOutputRouting

7: The HDMI peripheral (macOS only).

DisplayPort → const AudioOutputRouting

8: The DisplayPort peripheral (macOS only).

AirPlay → const AudioOutputRouting

9: Apple AirPlay (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<AudioOutputRouting>
A constant List of the values in this enum, in order of their declaration.