Enum Constant and Description |
---|
DEVICE_NOT_FOUND
Device not found.
|
FORBIDDEN
It was rejected by the camera state or request conditions.
|
IMAGE_NOT_FOUND
There is no specified image.
|
INVALID_ARGUMENT
Invalid parameter.
|
INVALID_SETTING
Invalid value.
|
NETWORK_ERROR
Network error.
|
NO_SPACE
Not enough space.
|
UNKNOWN_VALUE
Unknown value not supported.
|
Modifier and Type | Method and Description |
---|---|
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 NETWORK_ERROR
public static final ErrorCode DEVICE_NOT_FOUND
public static final ErrorCode IMAGE_NOT_FOUND
public static final ErrorCode INVALID_SETTING
public static final ErrorCode INVALID_ARGUMENT
public static final ErrorCode NO_SPACE
public static final ErrorCode FORBIDDEN
public static final ErrorCode UNKNOWN_VALUE
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 null