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