Package im.zego.zegoexpress.constants
Enum ZegoDataRecordState
- java.lang.Object
-
- java.lang.Enum<ZegoDataRecordState>
-
- im.zego.zegoexpress.constants.ZegoDataRecordState
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ZegoDataRecordState>
public enum ZegoDataRecordState extends java.lang.Enum<ZegoDataRecordState>
Record state.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NO_RECORD
Unrecorded state, which is the state when a recording error occurs or before recording starts.RECORDING
Recording in progress, in this state after successfully call [startRecordingCapturedData] functionSUCCESS
Record successs
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ZegoDataRecordState
getZegoDataRecordState(int value)
int
value()
static ZegoDataRecordState
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ZegoDataRecordState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NO_RECORD
public static final ZegoDataRecordState NO_RECORD
Unrecorded state, which is the state when a recording error occurs or before recording starts.
-
RECORDING
public static final ZegoDataRecordState RECORDING
Recording in progress, in this state after successfully call [startRecordingCapturedData] function
-
SUCCESS
public static final ZegoDataRecordState SUCCESS
Record successs
-
-
Method Detail
-
values
public static ZegoDataRecordState[] 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 (ZegoDataRecordState c : ZegoDataRecordState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ZegoDataRecordState 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()
-
getZegoDataRecordState
public static ZegoDataRecordState getZegoDataRecordState(int value)
-
-