AudioDeviceType enum

An enumeration of the different audio device types.

Inheritance
Annotations
  • @experimental

Constructors

AudioDeviceType()
const

Values

unknown → const AudioDeviceType

Unknown type.

builtInEarpiece → const AudioDeviceType

The phone earpiece used for listening to calls.

builtInSpeaker → const AudioDeviceType

The built-in speaker.

wiredHeadset → const AudioDeviceType

A wired headset with both microphone and earphones.

wiredHeadphones → const AudioDeviceType

Wired headphones.

headsetMic → const AudioDeviceType

The microphone on a headset.

lineAnalog → const AudioDeviceType

An analog line connection.

lineDigital → const AudioDeviceType

A digital line connection.

bluetoothSco → const AudioDeviceType

A bluetooth device typically used for telephony.

bluetoothA2dp → const AudioDeviceType

A bluetooth device supporting the A2DP profile.

hdmi → const AudioDeviceType

An HDMI connection.

hdmiArc → const AudioDeviceType

The audio return channel of an HDMI connection.

usbAudio → const AudioDeviceType

A USB audio device.

dock → const AudioDeviceType

A device associated with a dock.

fm → const AudioDeviceType

An FM transmission device.

builtInMic → const AudioDeviceType

The built-in microphone.

fmTuner → const AudioDeviceType

An FM receiver device.

tvTuner → const AudioDeviceType

A TV receiver device.

telephony → const AudioDeviceType

A transmitter for the telephony network.

auxLine → const AudioDeviceType

An auxiliary line connector.

ip → const AudioDeviceType

A device connected over IP.

bus → const AudioDeviceType

A device used to communicate with external audio systems.

hearingAid → const AudioDeviceType

A hearing aid.

airPlay → const AudioDeviceType

An AirPlay device.

bluetoothLe → const AudioDeviceType

A Bluetooth LE device.

avb → const AudioDeviceType

An Audio Video Bridging device.

displayPort → const AudioDeviceType

A DisplayPort device.

carAudio → const AudioDeviceType

A Car Audio connection.

fireWire → const AudioDeviceType

A FireWire device.

pci → const AudioDeviceType

A PCI device.

thunderbolt → const AudioDeviceType

A Thunderbolt device.

virtual → const AudioDeviceType

A connection not corresponding to a physical device.

builtInSpeakerSafe → const AudioDeviceType

A built-in speaker used for outputting sounds like notifications and alarms.

remoteSubmix → const AudioDeviceType

Android internal

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