Enum Constant and Description |
---|
ERR
-1, "fail"
|
FFMPEG_RUN_FAIL
20010, "ffmpeg command run fail, check ffmpeg run env"
|
FORK_ERROR
20040, "fork render process error, check render log"
|
INVALID_ASSETS_DATA
20054, "invalid assets file data"
|
INVALID_SNAPSHOTS_DATA
20053, "invalid snapshots data"
|
INVALID_SUB_IMGS_DATA
20051, "invalid sub imgs data"
|
INVALID_SUB_TEXTS_DATA
20052, "invalid sub texts data"
|
INVALID_WATERMARKS_DATA
20050, "invalid watermarks data"
|
LICENSE_INVALID
20030, "invalid license"
|
LICENSE_NOT_FULLY_SUPPORT
20031, "license not fullly support render task"
|
OK
1, "ok"
|
TEMPLATE_INVALID
20002, "template invalid, check template file"
|
VIDEO_ENCODE_FAIL
20021, "video encode error"
|
VIDEO_ENCODER_CREATE_FAIL
20020, "video encoder create error"
|
Modifier and Type | Method and Description |
---|---|
int |
getErrCode() |
java.lang.String |
getErrMsg() |
static ErrorCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ErrorCode OK
public static final ErrorCode ERR
public static final ErrorCode TEMPLATE_INVALID
public static final ErrorCode FFMPEG_RUN_FAIL
public static final ErrorCode VIDEO_ENCODER_CREATE_FAIL
public static final ErrorCode VIDEO_ENCODE_FAIL
public static final ErrorCode LICENSE_INVALID
public static final ErrorCode LICENSE_NOT_FULLY_SUPPORT
public static final ErrorCode FORK_ERROR
public static final ErrorCode INVALID_WATERMARKS_DATA
public static final ErrorCode INVALID_SUB_IMGS_DATA
public static final ErrorCode INVALID_SUB_TEXTS_DATA
public static final ErrorCode INVALID_SNAPSHOTS_DATA
public static final ErrorCode INVALID_ASSETS_DATA
public static ErrorCode[] values()
for (ErrorCode c : ErrorCode.values()) System.out.println(c);
public static ErrorCode 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 getErrCode()
public java.lang.String getErrMsg()