CameraDevice
class CameraDevice
Represents a physical (or logical in Android) camera device on the system.
This class encapsulates essential characteristics and capabilities of a specific camera, including its unique identifier, physical position (front/back), lens types (wide, telephoto, etc.), and supported configurations for both photo and video capture.
Parameters
cameraId
The unique identifier for the camera hardware.
name
The name for the camera hardware
position
The physical position of the camera (e.g., CamPosition.Front or CamPosition.Back).
fov
The field of view (FOV) of the camera in degrees.
lensType
A list of lens types supported by this camera device.
photoData
A list of supported resolutions and configurations for taking photos.
videoData
A list of supported resolutions and configurations for recording videos.