Page Summary
-
CameraSourceConfig is a class used to hold different camera source settings.
-
It includes a Builder class for configuration and an interface for specifying the camera's facing direction.
-
Constants are defined for both back and front camera facing directions.
public class CameraSourceConfig extends Object
Config class to hold different camera source settings.
Nested Class Summary
| class | CameraSourceConfig.Builder | Builder for CameraSourceConfig. | |
| @interface | CameraSourceConfig.CameraFacing | Direction of the camera facing relative to device screen. | |
Constant Summary
| int | CAMERA_FACING_BACK | |
| int | CAMERA_FACING_FRONT |
Inherited Method Summary
Constants
public static final int CAMERA_FACING_BACK
Constant Value: 1
public static final int CAMERA_FACING_FRONT
Constant Value: 0