CamFormat
A class representing the camera format configuration.
This class encapsulates a list of CameraFormatConfig that determines the resolution and quality settings for the camera stream. The configurations are applied based on priority order: the first configuration is attempted, followed by subsequent ones as fallbacks.
You can use predefined formats via the companion object extensions:
Or create a custom format by providing specific CameraFormatConfigs to the constructor.