DeviceType enum

Available audio device types.

Inheritance
Available extensions

Values

headphone → const DeviceType
const DeviceType('HEADPHONE')
mic → const DeviceType
const DeviceType('MIC')
usb → const DeviceType
const DeviceType('USB')
bluetooth → const DeviceType
const DeviceType('BLUETOOTH')
hdmi → const DeviceType
const DeviceType('HDMI')
internalSpeaker → const DeviceType
const DeviceType('INTERNAL_SPEAKER')
internalMic → const DeviceType
const DeviceType('INTERNAL_MIC')
frontMic → const DeviceType
const DeviceType('FRONT_MIC')
rearMic → const DeviceType
const DeviceType('REAR_MIC')
keyboardMic → const DeviceType
const DeviceType('KEYBOARD_MIC')
hotword → const DeviceType
const DeviceType('HOTWORD')
lineout → const DeviceType
const DeviceType('LINEOUT')
postMixLoopback → const DeviceType
const DeviceType('POST_MIX_LOOPBACK')
postDspLoopback → const DeviceType
const DeviceType('POST_DSP_LOOPBACK')
alsaLoopback → const DeviceType
const DeviceType('ALSA_LOOPBACK')
other → const DeviceType
const DeviceType('OTHER')

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
toJS String
no setter
value String
final

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

Static Methods

fromJS(String value) DeviceType

Constants

values → const List<DeviceType>
A constant List of the values in this enum, in order of their declaration.