Package io.agora.rtc2
Enum Class Constants.QoEPreference
- All Implemented Interfaces:
Serializable,Comparable<Constants.QoEPreference>,Constable
- Enclosing class:
- Constants
Sets the video qoe preference.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription0: Default QoE type, balance the delay, picture quality and fluency.1: lower the e2e delay.0: more fluency.1: picture quality. -
Method Summary
Modifier and TypeMethodDescriptionstatic intstatic Constants.QoEPreferenceReturns the enum constant of this class with the specified name.static Constants.QoEPreference[]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
-
VIDEO_QOE_PREFERENCE_BALANCE
0: Default QoE type, balance the delay, picture quality and fluency. -
VIDEO_QOE_PREFERENCE_DELAY_FIRST
1: lower the e2e delay. -
VIDEO_QOE_PREFERENCE_PICTURE_QUALITY_FIRST
1: picture quality. -
VIDEO_QOE_PREFERENCE_FLUENCY_FIRST
0: more fluency.
-
-
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
-