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