public static enum Constants.AudioScenarioType extends java.lang.Enum<Constants.AudioScenarioType>
| Enum Constant and Description |
|---|
AUDIO_SCENARIO_AI_CLIENT
10: AI Client.
|
AUDIO_SCENARIO_AI_SERVER
9: AI Server.
|
AUDIO_SCENARIO_CHATROOM
5: The chatroom scenario, which needs to keep recording when setClientRole to
audience.
|
AUDIO_SCENARIO_CHORUS
7: Real-time chorus scenario, where users have good network conditions and
require ultra-low
latency.
|
AUDIO_SCENARIO_DEFAULT
0: Automatic scenario, where the SDK chooses the appropriate audio quality
according to the
user role and audio route.
|
AUDIO_SCENARIO_GAME_STREAMING
3: (Recommended) The live gaming scenario, which needs to enable gaming
audio effects in the speaker.
|
AUDIO_SCENARIO_MEETING
8: Meeting
|
AUDIO_SCENARIO_NUM
11: The number of enumerations.
|
| Modifier and Type | Field and Description |
|---|---|
private int |
value |
| Modifier and Type | Method and Description |
|---|---|
static Constants.AudioScenarioType |
fromInt(int value) |
int |
getValue() |
static Constants.AudioScenarioType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Constants.AudioScenarioType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Constants.AudioScenarioType AUDIO_SCENARIO_DEFAULT
public static final Constants.AudioScenarioType AUDIO_SCENARIO_GAME_STREAMING
public static final Constants.AudioScenarioType AUDIO_SCENARIO_CHATROOM
public static final Constants.AudioScenarioType AUDIO_SCENARIO_CHORUS
public static final Constants.AudioScenarioType AUDIO_SCENARIO_MEETING
public static final Constants.AudioScenarioType AUDIO_SCENARIO_AI_SERVER
public static final Constants.AudioScenarioType AUDIO_SCENARIO_AI_CLIENT
public static final Constants.AudioScenarioType AUDIO_SCENARIO_NUM
public static Constants.AudioScenarioType[] values()
for (Constants.AudioScenarioType c : Constants.AudioScenarioType.values()) System.out.println(c);
public static Constants.AudioScenarioType 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 int getValue()
public static Constants.AudioScenarioType fromInt(int value)