Package io.agora.rtc2

Enum Class Constants.QoEPreference

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

public static enum Constants.QoEPreference extends Enum<Constants.QoEPreference>
Sets the video qoe preference.
  • Enum Constant Details

    • VIDEO_QOE_PREFERENCE_BALANCE

      public static final Constants.QoEPreference VIDEO_QOE_PREFERENCE_BALANCE
      0: Default QoE type, balance the delay, picture quality and fluency.
    • VIDEO_QOE_PREFERENCE_DELAY_FIRST

      public static final Constants.QoEPreference VIDEO_QOE_PREFERENCE_DELAY_FIRST
      1: lower the e2e delay.
    • VIDEO_QOE_PREFERENCE_PICTURE_QUALITY_FIRST

      public static final Constants.QoEPreference VIDEO_QOE_PREFERENCE_PICTURE_QUALITY_FIRST
      1: picture quality.
    • VIDEO_QOE_PREFERENCE_FLUENCY_FIRST

      public static final Constants.QoEPreference VIDEO_QOE_PREFERENCE_FLUENCY_FIRST
      0: more fluency.
  • Method Details

    • values

      public static Constants.QoEPreference[] 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.QoEPreference 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.QoEPreference type)