public enum TaskStatus extends java.lang.Enum<TaskStatus> implements EnumParam
| Enum Constant and Description |
|---|
FINISHED |
INTERNAL_ERROR |
PROCESSING |
RECOGNITION_ERROR |
TRANSCODING_ERROR |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getValue() |
java.lang.String |
toString() |
static TaskStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TaskStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@SerializedName(value="processing") public static final TaskStatus PROCESSING
@SerializedName(value="finished") public static final TaskStatus FINISHED
@SerializedName(value="internal_error") public static final TaskStatus INTERNAL_ERROR
@SerializedName(value="transcoding_error") public static final TaskStatus TRANSCODING_ERROR
@SerializedName(value="recognition_error") public static final TaskStatus RECOGNITION_ERROR
public static TaskStatus[] values()
for (TaskStatus c : TaskStatus.values()) System.out.println(c);
public static TaskStatus 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 java.lang.String toString()
toString in class java.lang.Enum<TaskStatus>