Package io.agora.rtc2

Enum Class Constants.VideoScenario

java.lang.Object
java.lang.Enum<Constants.VideoScenario>
io.agora.rtc2.Constants.VideoScenario
All Implemented Interfaces:
Serializable, Comparable<Constants.VideoScenario>, Constable
Enclosing class:
Constants

public static enum Constants.VideoScenario extends Enum<Constants.VideoScenario>
Sets the video application scenarios.
  • Enum Constant Details

    • APPLICATION_SCENARIO_GENERAL

      public static final Constants.VideoScenario APPLICATION_SCENARIO_GENERAL
      0: (Default) The general video scenario
    • APPLICATION_SCENARIO_MEETING

      public static final Constants.VideoScenario APPLICATION_SCENARIO_MEETING
      1: Meeting Scenario. This scenario is the best QoE practice of meeting application.
    • APPLICATION_SCENARIO_1V1

      public static final Constants.VideoScenario 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

      public static final Constants.VideoScenario APPLICATION_SCENARIO_LIVESHOW
      3: Live Show Scenario. This scenario is used to optimize the video experience in live broadcast application.
  • Method Details

    • values

      public static Constants.VideoScenario[] 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

      public static Constants.VideoScenario valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getValue

      public static int getValue(Constants.VideoScenario type)