CameraSettings
data class CameraSettings(val lensFacing: CameraLensFacing = CameraLensFacing.LensFacingBack, val desiredResolution: Resolution = Resolution.Resolution2160p, val desiredAspectRatio: DesiredAspectRatio = DesiredAspectRatio.RATIO_16_9) : Parcelable
Configuration settings for the camera used in the scanning process.
This data class allows you to specify the preferred camera lens facing, the desired resolution for the camera, and the desired aspect ratio for the camera preview.
Constructors
Link copied to clipboard
constructor(lensFacing: CameraLensFacing = CameraLensFacing.LensFacingBack, desiredResolution: Resolution = Resolution.Resolution2160p, desiredAspectRatio: DesiredAspectRatio = DesiredAspectRatio.RATIO_16_9)
Properties
Link copied to clipboard
The desired aspect ratio for the camera preview. Defaults to DesiredAspectRatio.RATIO_16_9.
Link copied to clipboard
The desired Resolution for the camera. Defaults to Resolution.Resolution2160p.
Link copied to clipboard
The preferred CameraLensFacing for the camera. Defaults to CameraLensFacing.LensFacingBack.