ResolutionConfig

class ResolutionConfig(val width: Int, val height: Int) : CameraFormatConfig

Configuration for camera resolution settings.

This class defines the desired dimensions (width and height) for the camera output. It provides predefined standard resolutions like UltraHigh, High, Medium, and Low, but can also be instantiated with custom dimensions.

Parameters

width

The width of the resolution in pixels.

height

The height of the resolution in pixels.

See also

Constructors

Link copied to clipboard
constructor(width: Int, height: Int)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val height: Int
Link copied to clipboard
val width: Int

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