Audio Device
An audio output a call can be routed to.
SPEAKER_PHONE is always available. EARPIECE is listed only on a handset that has one, and only while no wired headset is plugged in. The external devices appear and disappear with the hardware, which is what Room.setAudioDeviceChangeListener reports.
Entries
The loudspeaker. Always available, and the fallback when nothing else is.
A wired headset or USB headset. Preferred over Bluetooth when both are already connected.
No device. Passing its name to Room.changeMic routes audio nowhere.
Properties
Functions
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Returns an array containing the constants of this enum type, in the order they're declared.