public static enum Constants.RecorderReasonCode extends java.lang.Enum<Constants.RecorderReasonCode>
| Enum Constant and Description |
|---|
RECORDER_REASON_CONFIG_CHANGED
4: The recording configuration changes.
|
RECORDER_REASON_NO_STREAM
2: The SDK does not detect audio and video streams to be recorded, or audio
and video streams
are interrupted for more than five seconds during recording.
|
RECORDER_REASON_NONE
0: No error occurs.
|
RECORDER_REASON_OVER_MAX_DURATION
3: The recording duration exceeds the upper limit.
|
RECORDER_REASON_UNKNOWN |
RECORDER_REASON_WRITE_FAILED
1: The SDK fails to write the recorded data to a file.
|
| Modifier and Type | Field and Description |
|---|---|
private int |
value |
| Modifier and Type | Method and Description |
|---|---|
static Constants.RecorderReasonCode |
fromInt(int value) |
int |
getValue() |
static Constants.RecorderReasonCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Constants.RecorderReasonCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Constants.RecorderReasonCode RECORDER_REASON_UNKNOWN
public static final Constants.RecorderReasonCode RECORDER_REASON_NONE
public static final Constants.RecorderReasonCode RECORDER_REASON_WRITE_FAILED
public static final Constants.RecorderReasonCode RECORDER_REASON_NO_STREAM
public static final Constants.RecorderReasonCode RECORDER_REASON_OVER_MAX_DURATION
public static final Constants.RecorderReasonCode RECORDER_REASON_CONFIG_CHANGED
public static Constants.RecorderReasonCode[] values()
for (Constants.RecorderReasonCode c : Constants.RecorderReasonCode.values()) System.out.println(c);
public static Constants.RecorderReasonCode 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.RecorderReasonCode fromInt(int value)