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