public static enum Constants.AudioScenario extends java.lang.Enum<Constants.AudioScenario>
Enum Constant and Description |
---|
CHATROOM
5: The chatroom scenario, which needs to keep recording when setClientRole to audience.
|
DEFAULT
0: (Recommended) The default audio scenario.
|
GAME_STREAMING
3: (Recommended) The live gaming scenario, which needs to enable the gaming audio effects in
the speaker mode in a live broadcast scenario.
|
Modifier and Type | Method and Description |
---|---|
static int |
getValue(Constants.AudioScenario type) |
static Constants.AudioScenario |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Constants.AudioScenario[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Constants.AudioScenario DEFAULT
public static final Constants.AudioScenario GAME_STREAMING
public static final Constants.AudioScenario CHATROOM
public static Constants.AudioScenario[] values()
for (Constants.AudioScenario c : Constants.AudioScenario.values()) System.out.println(c);
public static Constants.AudioScenario 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 nullpublic static int getValue(Constants.AudioScenario type)