CaptureOptions

data class CaptureOptions(val photoQuality: PhotoQuality = PhotoQuality.HIGH, val targetWidth: Int? = null, val targetHeight: Int? = null, val timeoutMs: Long)

Constructors

Link copied to clipboard
constructor(photoQuality: PhotoQuality = PhotoQuality.HIGH, targetWidth: Int? = null, targetHeight: Int? = null, timeoutMs: Long)

Properties

Link copied to clipboard

Unified photo quality preference. Implementations map this to their native JPEG quality or preset. PhotoQuality.HIGH preserves the previous default behavior.

Link copied to clipboard
Link copied to clipboard

A unified "target size" knob.

Link copied to clipboard