Package io.agora.rtc2
Enum Class Constants.VideoScenario
- All Implemented Interfaces:
Serializable,Comparable<Constants.VideoScenario>,Constable
- Enclosing class:
- Constants
Sets the video application scenarios.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription2: Video Call Scenario.0: (Default) The general video scenario3: Live Show Scenario.1: Meeting Scenario. -
Method Summary
Modifier and TypeMethodDescriptionstatic intstatic Constants.VideoScenarioReturns the enum constant of this class with the specified name.static Constants.VideoScenario[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
APPLICATION_SCENARIO_GENERAL
0: (Default) The general video scenario -
APPLICATION_SCENARIO_MEETING
1: Meeting Scenario. This scenario is the best QoE practice of meeting application. -
APPLICATION_SCENARIO_1V1
2: Video Call Scenario. This scenario is used to optimize the video experience in video application, like 1v1 video call. -
APPLICATION_SCENARIO_LIVESHOW
3: Live Show Scenario. This scenario is used to optimize the video experience in live broadcast application.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
-