Enum HMSAudioManager.AudioDevice
-
- All Implemented Interfaces:
-
java.io.Serializable,kotlin.Comparable
public enum HMSAudioManager.AudioDevice extends Enum<HMSAudioManager.AudioDevice>
Types of audio routing supported.
SPEAKER - route audio to device speaker EARPIECE - route audio to device earpiece WIRED - route audio to connected wired device BLUETOOTH - route audio to connected bluetooth device AUTOMATIC - automatic routing
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringnameprivate final Integerordinalprivate final EnumEntries<HMSAudioManager.AudioDevice>entries
-
Enum Constant Summary
Enum Constants Enum Constant Description SPEAKER_PHONEWIRED_HEADSETEARPIECEBLUETOOTHAUTOMATIC
-
Method Summary
Modifier and Type Method Description final HMSAudioManager.AudioDevicevalueOf(String value)Returns the enum constant of this type with the specified name. final Array<HMSAudioManager.AudioDevice>values()Returns an array containing the constants of this enum type, in the order they're declared. final EnumEntries<HMSAudioManager.AudioDevice>getEntries()Types of audio routing supported. -
-
Method Detail
-
valueOf
final HMSAudioManager.AudioDevice valueOf(String value)
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.)
-
values
final Array<HMSAudioManager.AudioDevice> values()
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.
-
getEntries
final EnumEntries<HMSAudioManager.AudioDevice> getEntries()
Types of audio routing supported.
SPEAKER - route audio to device speaker EARPIECE - route audio to device earpiece WIRED - route audio to connected wired device BLUETOOTH - route audio to connected bluetooth device AUTOMATIC - automatic routing
-
-
-
-