public static enum AudioManagerInternal.AudioDevice extends java.lang.Enum<AudioManagerInternal.AudioDevice>
Enum Constant and Description |
---|
BLUETOOTH |
EARPIECE |
NONE |
SPEAKER_PHONE |
WIRED_HEADSET |
Modifier and Type | Method and Description |
---|---|
static AudioManagerInternal.AudioDevice |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AudioManagerInternal.AudioDevice[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AudioManagerInternal.AudioDevice SPEAKER_PHONE
public static final AudioManagerInternal.AudioDevice WIRED_HEADSET
public static final AudioManagerInternal.AudioDevice EARPIECE
public static final AudioManagerInternal.AudioDevice BLUETOOTH
public static final AudioManagerInternal.AudioDevice NONE
public static AudioManagerInternal.AudioDevice[] values()
for (AudioManagerInternal.AudioDevice c : AudioManagerInternal.AudioDevice.values()) System.out.println(c);
public static AudioManagerInternal.AudioDevice valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright 2016, Sinch AB