CameraFormatConfig

sealed interface CameraFormatConfig

Configuration interface for Camera Format settings.

This sealed interface serves as a base for defining specific configurations related to camera formats, allowing the definition of resolution or aspect ratio strategies for camera capture.

Implementing classes or objects usually represent specific strategies, such as:

Usage of this configuration helps in determining how the camera stream and output should be sized.

See also

Inheritors