public static enum CameraCapturerConfiguration.CAMERA_DIRECTION extends java.lang.Enum<CameraCapturerConfiguration.CAMERA_DIRECTION>
Enum Constant and Description |
---|
CAMERA_FRONT
1: Uses the front camera.
|
CAMERA_REAR
0: Uses the rear camera.
|
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static CameraCapturerConfiguration.CAMERA_DIRECTION |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CameraCapturerConfiguration.CAMERA_DIRECTION[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CameraCapturerConfiguration.CAMERA_DIRECTION CAMERA_REAR
public static final CameraCapturerConfiguration.CAMERA_DIRECTION CAMERA_FRONT
public static CameraCapturerConfiguration.CAMERA_DIRECTION[] values()
for (CameraCapturerConfiguration.CAMERA_DIRECTION c : CameraCapturerConfiguration.CAMERA_DIRECTION.values()) System.out.println(c);
public static CameraCapturerConfiguration.CAMERA_DIRECTION 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 nullpublic int getValue()