public enum CameraError extends Enum<CameraError>
Enum Constant and Description |
---|
ANDROID_INTERNAL_ERROR |
CAPTURE_FAILED |
COULD_NOT_OPEN |
DISABLED_BY_DPM |
ENCODER_ERROR |
INVALID_PARAMETERS |
PREVIEW_FAILED |
Modifier and Type | Method and Description |
---|---|
static CameraError |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CameraError[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CameraError PREVIEW_FAILED
public static final CameraError CAPTURE_FAILED
public static final CameraError ANDROID_INTERNAL_ERROR
public static final CameraError COULD_NOT_OPEN
public static final CameraError INVALID_PARAMETERS
public static final CameraError DISABLED_BY_DPM
public static final CameraError ENCODER_ERROR
public static CameraError[] values()
for (CameraError c : CameraError.values()) System.out.println(c);
public static CameraError valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null