Package im.zego.zegoexpress.constants
Enum ZegoEngineState
- java.lang.Object
-
- java.lang.Enum<ZegoEngineState>
-
- im.zego.zegoexpress.constants.ZegoEngineState
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ZegoEngineState>
public enum ZegoEngineState extends java.lang.Enum<ZegoEngineState>
engine state.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ZegoEngineState
getZegoEngineState(int value)
int
value()
static ZegoEngineState
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ZegoEngineState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
START
public static final ZegoEngineState START
The engine has started
-
STOP
public static final ZegoEngineState STOP
The engine has stoped
-
-
Method Detail
-
values
public static ZegoEngineState[] 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 (ZegoEngineState c : ZegoEngineState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ZegoEngineState 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()
-
getZegoEngineState
public static ZegoEngineState getZegoEngineState(int value)
-
-