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