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