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