public static enum Constants.RecorderState extends java.lang.Enum<Constants.RecorderState>
| Enum Constant and Description |
|---|
RECORDER_STATE_ERROR
-1: An error occurs during the recording.
|
RECORDER_STATE_START
2: The audio and video recording is started.
|
RECORDER_STATE_STOP
3: The audio and video recording is stopped.
|
| Modifier and Type | Field and Description |
|---|---|
private int |
value |
| Modifier and Type | Method and Description |
|---|---|
static Constants.RecorderState |
fromInt(int value) |
int |
getValue() |
static Constants.RecorderState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Constants.RecorderState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Constants.RecorderState RECORDER_STATE_ERROR
public static final Constants.RecorderState RECORDER_STATE_START
public static final Constants.RecorderState RECORDER_STATE_STOP
public static Constants.RecorderState[] values()
for (Constants.RecorderState c : Constants.RecorderState.values()) System.out.println(c);
public static Constants.RecorderState 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.RecorderState fromInt(int value)