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.

Properties

Link copied to clipboard
Link copied to clipboard
val fov: Float
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String