CameraDevice

@Serializable
data class CameraDevice(val id: String, val name: String, val position: CameraDevice.Position)

Represents a camera device available on the system.

This model is used across platform boundaries and therefore marked as Serializable so that it can be encoded/decoded (e.g., JSON) when communicating with other layers such as Flutter, Compose UI, or network APIs.

Constructors

Link copied to clipboard
constructor(id: String, name: String, position: CameraDevice.Position)

Types

Link copied to clipboard

Indicates the physical location or category of the camera device.

Properties

Link copied to clipboard
val id: String

Unique identifier of the camera device provided by the system (e.g., Camera2 ID).

Link copied to clipboard

Human readable name of the camera, generated from device characteristics.

Link copied to clipboard

Physical position/type of the camera.