Package com.commonsware.cwac.camera
Enum CameraHost.FailureReason
-
- All Implemented Interfaces:
public enum CameraHost.FailureReason
Indication of why we were unable to open up a camera. NO_CAMERAS_REPORTED will be used if getCameraId() returns a negative number. Exceptions raised when the camera is opened will return UNKNOWN.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NO_CAMERAS_REPORTED
UNKNOWN
-
Method Summary
Modifier and Type Method Description static Array<CameraHost.FailureReason>
values()
Returns an array containing the constants of this enum type, in the order they're declared. static CameraHost.FailureReason
valueOf(String name)
Returns the enum constant of this type with the specified name. -
-
Method Detail
-
values
static Array<CameraHost.FailureReason> values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.
-
valueOf
static CameraHost.FailureReason valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
-
-
-
-