Package com.microblink.blinkid.view
Enum Class BaseCameraView.CameraViewState
java.lang.Object
java.lang.Enum<BaseCameraView.CameraViewState>
com.microblink.blinkid.view.BaseCameraView.CameraViewState
- All Implemented Interfaces:
Serializable
,Comparable<BaseCameraView.CameraViewState>
,Constable
- Enclosing class:
- BaseCameraView
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionIndicates that create() has been called, next you need to call start() methodView is in destroyed (destroy() has been called - all resources have been released) or initial state (nothing is yet loaded), you need to call create() methodIndicates that resume() has been called, view will soon initialize camera and start receiving framesIndicates that start() has been called, next you need to call resume() method -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static BaseCameraView.CameraViewState[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
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 -
CREATED
Indicates that create() has been called, next you need to call start() method -
STARTED
Indicates that start() has been called, next you need to call resume() method -
RESUMED
Indicates that resume() has been called, view will soon initialize camera and start receiving frames
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-