Package im.zego.zegoexpress.constants
Enum ZegoStreamQualityLevel
- java.lang.Object
-
- java.lang.Enum<ZegoStreamQualityLevel>
-
- im.zego.zegoexpress.constants.ZegoStreamQualityLevel
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ZegoStreamQualityLevel>
public enum ZegoStreamQualityLevel extends java.lang.Enum<ZegoStreamQualityLevel>
Stream quality level.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ZegoStreamQualityLevel
getZegoStreamQualityLevel(int value)
int
value()
static ZegoStreamQualityLevel
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ZegoStreamQualityLevel[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EXCELLENT
public static final ZegoStreamQualityLevel EXCELLENT
Excellent
-
GOOD
public static final ZegoStreamQualityLevel GOOD
Good
-
MEDIUM
public static final ZegoStreamQualityLevel MEDIUM
Normal
-
BAD
public static final ZegoStreamQualityLevel BAD
Bad
-
DIE
public static final ZegoStreamQualityLevel DIE
Failed
-
UNKNOWN
public static final ZegoStreamQualityLevel UNKNOWN
Unknown
-
-
Method Detail
-
values
public static ZegoStreamQualityLevel[] 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 (ZegoStreamQualityLevel c : ZegoStreamQualityLevel.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ZegoStreamQualityLevel 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()
-
getZegoStreamQualityLevel
public static ZegoStreamQualityLevel getZegoStreamQualityLevel(int value)
-
-