AudioDeviceType enum

Inheritance

Constructors

AudioDeviceType(String deviceType, String displayName)
const
AudioDeviceType.fromMap(Map<String, dynamic> map)
factory

Values

wired → const AudioDeviceType
const AudioDeviceType('WIRED_HEADSET', 'Headset')
speaker → const AudioDeviceType
const AudioDeviceType('SPEAKER_PHONE', 'Speaker')
bluetooth → const AudioDeviceType
const AudioDeviceType('BLUETOOTH', 'Bluetooth')
earpiece → const AudioDeviceType
const AudioDeviceType('EARPIECE', 'Earpiece')
unknown → const AudioDeviceType
const AudioDeviceType('NONE', 'Unknown')

Properties

deviceType String
final
displayName String
final
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
toMap() Map<String, dynamic>
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.