public static enum Camera3.CameraState extends java.lang.Enum<Camera3.CameraState>
Enum Constant and Description |
---|
CAPTURE_COMPLETED |
PREVIEW |
RECORDING_VIDEO |
WAITING_CAMERA_OPEN |
WAITING_FOCUS_LOCK |
WAITING_NON_PRECAPTURE |
WAITING_PRECAPTURE |
Modifier and Type | Method and Description |
---|---|
static Camera3.CameraState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Camera3.CameraState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Camera3.CameraState WAITING_CAMERA_OPEN
public static final Camera3.CameraState PREVIEW
public static final Camera3.CameraState WAITING_FOCUS_LOCK
public static final Camera3.CameraState WAITING_PRECAPTURE
public static final Camera3.CameraState WAITING_NON_PRECAPTURE
public static final Camera3.CameraState RECORDING_VIDEO
public static final Camera3.CameraState CAPTURE_COMPLETED
public static Camera3.CameraState[] values()
for (Camera3.CameraState c : Camera3.CameraState.values()) System.out.println(c);
public static Camera3.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