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