public static enum Constants.QualityType extends java.lang.Enum<Constants.QualityType>
| Enum Constant and Description |
|---|
QUALITY_BAD
4: Users cannot communicate smoothly.
|
QUALITY_DETECTING
8: Detecting the network quality.
|
QUALITY_DOWN
6: Users cannot communicate at all.
|
QUALITY_EXCELLENT
1: The quality is excellent.
|
QUALITY_GOOD
2: The quality is quite good, but the bitrate may be slightly
lower than excellent.
|
QUALITY_POOR
3: Users can feel the communication slightly impaired.
|
QUALITY_UNKNOWN
Deprecated.
This member is deprecated. Use
QUALITY_UNSUPPORTED or
QUALITY_DETECTING instead. |
QUALITY_UNSUPPORTED
7: (For future use) The network quality cannot be detected.
|
QUALITY_VBAD
5: Users can barely communicate.
|
| Modifier and Type | Field and Description |
|---|---|
private int |
value |
| Modifier and Type | Method and Description |
|---|---|
static Constants.QualityType |
fromInt(int value)
Converts an integer value to its corresponding QualityType enum constant.
|
int |
getValue()
Gets the integer value of the network quality type.
|
static Constants.QualityType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Constants.QualityType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Deprecated public static final Constants.QualityType QUALITY_UNKNOWN
QUALITY_UNSUPPORTED or
QUALITY_DETECTING instead.public static final Constants.QualityType QUALITY_EXCELLENT
public static final Constants.QualityType QUALITY_GOOD
public static final Constants.QualityType QUALITY_POOR
public static final Constants.QualityType QUALITY_BAD
public static final Constants.QualityType QUALITY_VBAD
public static final Constants.QualityType QUALITY_DOWN
public static final Constants.QualityType QUALITY_UNSUPPORTED
public static final Constants.QualityType QUALITY_DETECTING
public static Constants.QualityType[] values()
for (Constants.QualityType c : Constants.QualityType.values()) System.out.println(c);
public static Constants.QualityType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic int getValue()
public static Constants.QualityType fromInt(int value)
value - The integer value.