CameraSettings

data class CameraSettings(val lensFacing: CameraLensFacing = CameraLensFacing.LensFacingBack, val desiredResolution: Resolution = Resolution.Resolution2160p) : Parcelable

Configuration settings for the camera used in the scanning process.

This data class allows you to specify the preferred camera lens facing and the desired resolution for the camera.

Constructors

Link copied to clipboard
constructor(lensFacing: CameraLensFacing = CameraLensFacing.LensFacingBack, desiredResolution: Resolution = Resolution.Resolution2160p)

Properties

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.

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)