public static enum Camera.Error extends java.lang.Enum<Camera.Error>
Camera
might have failed after opening. Note: this list
might get extended and elaborated in the future; do not assume that the present set of errors is
exhaustive. Rather, treat any errors you do not recognize as you do OtherError
.Enum Constant and Description |
---|
Connected |
Disconnected |
InternalError |
None |
OtherError |
StreamingRequestNotSupported |
Timeout |
Modifier and Type | Method and Description |
---|---|
static Camera.Error |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Camera.Error[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Camera.Error None
public static final Camera.Error OtherError
public static final Camera.Error Disconnected
public static final Camera.Error Connected
public static final Camera.Error StreamingRequestNotSupported
public static final Camera.Error Timeout
public static final Camera.Error InternalError
public static Camera.Error[] values()
for (Camera.Error c : Camera.Error.values()) System.out.println(c);
public static Camera.Error 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