protected static enum SimpleCamera2Activity.CameraState extends java.lang.Enum<SimpleCamera2Activity.CameraState>
| Enum Constant and Description |
|---|
CLOSED |
CLOSING
When in the closing state that means the camera was in the opening state when a close request was
sent.
|
OPEN |
OPENING
The camera enters into this state the second a request is made to open the camera.
|
| Modifier and Type | Method and Description |
|---|---|
static SimpleCamera2Activity.CameraState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SimpleCamera2Activity.CameraState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SimpleCamera2Activity.CameraState CLOSED
public static final SimpleCamera2Activity.CameraState OPENING
public static final SimpleCamera2Activity.CameraState OPEN
public static final SimpleCamera2Activity.CameraState CLOSING
public static SimpleCamera2Activity.CameraState[] values()
for (SimpleCamera2Activity.CameraState c : SimpleCamera2Activity.CameraState.values()) System.out.println(c);
public static SimpleCamera2Activity.CameraState 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