public static enum AppRTCAudioManager.AudioDevice extends java.lang.Enum<AppRTCAudioManager.AudioDevice>
Enum Constant and Description |
---|
BLUETOOTH |
EARPIECE |
NONE |
SPEAKER_PHONE |
WIRED_HEADSET |
Modifier and Type | Method and Description |
---|---|
static AppRTCAudioManager.AudioDevice |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AppRTCAudioManager.AudioDevice[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AppRTCAudioManager.AudioDevice SPEAKER_PHONE
public static final AppRTCAudioManager.AudioDevice WIRED_HEADSET
public static final AppRTCAudioManager.AudioDevice EARPIECE
public static final AppRTCAudioManager.AudioDevice BLUETOOTH
public static final AppRTCAudioManager.AudioDevice NONE
public static AppRTCAudioManager.AudioDevice[] values()
for (AppRTCAudioManager.AudioDevice c : AppRTCAudioManager.AudioDevice.values()) System.out.println(c);
public static AppRTCAudioManager.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 null