Package im.zego.zegoexpress.constants
Enum ZegoNetworkSpeedTestType
- java.lang.Object
-
- java.lang.Enum<ZegoNetworkSpeedTestType>
-
- im.zego.zegoexpress.constants.ZegoNetworkSpeedTestType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ZegoNetworkSpeedTestType>
public enum ZegoNetworkSpeedTestType extends java.lang.Enum<ZegoNetworkSpeedTestType>
network speed test type
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ZegoNetworkSpeedTestType
getZegoNetworkSpeedTestType(int value)
int
value()
static ZegoNetworkSpeedTestType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ZegoNetworkSpeedTestType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UPLINK
public static final ZegoNetworkSpeedTestType UPLINK
uplink
-
DOWNLINK
public static final ZegoNetworkSpeedTestType DOWNLINK
downlink
-
-
Method Detail
-
values
public static ZegoNetworkSpeedTestType[] 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 (ZegoNetworkSpeedTestType c : ZegoNetworkSpeedTestType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ZegoNetworkSpeedTestType 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()
-
getZegoNetworkSpeedTestType
public static ZegoNetworkSpeedTestType getZegoNetworkSpeedTestType(int value)
-
-