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