public static enum Call.AudioOutputMode extends java.lang.Enum<Call.AudioOutputMode>
Enum Constant and Description |
---|
BLUETOOTH_HEADSET
The option to play audio through bluetooth headset(if connected).
|
HEADSET
The option to play audio through headset(if connected).
|
PHONE
The option to play audio through phone.
|
SPEAKER
The option to play audio through speaker.
|
Modifier and Type | Method and Description |
---|---|
static Call.AudioOutputMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Call.AudioOutputMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Call.AudioOutputMode PHONE
public static final Call.AudioOutputMode HEADSET
public static final Call.AudioOutputMode SPEAKER
public static final Call.AudioOutputMode BLUETOOTH_HEADSET
public static Call.AudioOutputMode[] values()
for (Call.AudioOutputMode c : Call.AudioOutputMode.values()) System.out.println(c);
public static Call.AudioOutputMode 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