public enum ErrorCode extends Enum<ErrorCode>
Enum Constant and Description |
---|
API_NOT_INITIALIZED |
CANCEL |
CHANNEL_ERROR |
EXTENSION_MISSING |
EXTENSION_NOT_COMPATIBLE |
INVALID_PARAMETER |
LOAD_MEDIA_FAILED |
RECEIVER_UNAVAILABLE |
SESSION_ERROR |
TIMEOUT |
Modifier and Type | Method and Description |
---|---|
static ErrorCode |
valueOf(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 CANCEL
public static final ErrorCode TIMEOUT
public static final ErrorCode API_NOT_INITIALIZED
public static final ErrorCode INVALID_PARAMETER
public static final ErrorCode EXTENSION_NOT_COMPATIBLE
public static final ErrorCode EXTENSION_MISSING
public static final ErrorCode RECEIVER_UNAVAILABLE
public static final ErrorCode SESSION_ERROR
public static final ErrorCode CHANNEL_ERROR
public static final ErrorCode LOAD_MEDIA_FAILED
public static ErrorCode[] values()
for (ErrorCode c : ErrorCode.values()) System.out.println(c);
public static ErrorCode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null