public static enum BaseCameraView.CameraViewState extends java.lang.Enum<BaseCameraView.CameraViewState>
| Enum Constant and Description |
|---|
CREATED
Indicates that create() has been called, next you need to call start() method
|
DESTROYED
View is in destroyed (destroy() has been called - all resources have been released) or initial state (nothing is yet loaded), you need to call create() method
|
RESUMED
Indicates that resume() has been called, view will soon initialize camera and start receiving frames
|
STARTED
Indicates that start() has been called, next you need to call resume() method
|
| Modifier and Type | Method and Description |
|---|---|
static BaseCameraView.CameraViewState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BaseCameraView.CameraViewState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BaseCameraView.CameraViewState DESTROYED
public static final BaseCameraView.CameraViewState CREATED
public static final BaseCameraView.CameraViewState STARTED
public static final BaseCameraView.CameraViewState RESUMED
public static BaseCameraView.CameraViewState[] values()
for (BaseCameraView.CameraViewState c : BaseCameraView.CameraViewState.values()) System.out.println(c);
public static BaseCameraView.CameraViewState 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