Package im.zego.zegoexpress.constants
Enum ZegoTrafficControlProperty
- java.lang.Object
-
- java.lang.Enum<ZegoTrafficControlProperty>
-
- im.zego.zegoexpress.constants.ZegoTrafficControlProperty
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ZegoTrafficControlProperty>
public enum ZegoTrafficControlProperty extends java.lang.Enum<ZegoTrafficControlProperty>
Traffic control property (bitmask enumeration).
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADAPTIVE_AUDIO_BITRATE
Adaptive (reduce) audio bitrateADAPTIVE_FPS
Adaptive (reduce) video FPSADAPTIVE_RESOLUTION
Adaptive (reduce) video resolutionBASIC
Basic (Adaptive (reduce) video bitrate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ZegoTrafficControlProperty
getZegoTrafficControlProperty(int value)
int
value()
static ZegoTrafficControlProperty
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ZegoTrafficControlProperty[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BASIC
public static final ZegoTrafficControlProperty BASIC
Basic (Adaptive (reduce) video bitrate)
-
ADAPTIVE_FPS
public static final ZegoTrafficControlProperty ADAPTIVE_FPS
Adaptive (reduce) video FPS
-
ADAPTIVE_RESOLUTION
public static final ZegoTrafficControlProperty ADAPTIVE_RESOLUTION
Adaptive (reduce) video resolution
-
ADAPTIVE_AUDIO_BITRATE
public static final ZegoTrafficControlProperty ADAPTIVE_AUDIO_BITRATE
Adaptive (reduce) audio bitrate
-
-
Method Detail
-
values
public static ZegoTrafficControlProperty[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ZegoTrafficControlProperty c : ZegoTrafficControlProperty.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ZegoTrafficControlProperty valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
value
public int value()
-
getZegoTrafficControlProperty
public static ZegoTrafficControlProperty getZegoTrafficControlProperty(int value)
-
-