ImageQualitySettings

@Serializable
data class ImageQualitySettings @JvmOverloads constructor(val blurMatchLevel: MatchLevel? = null, val glareMatchLevel: MatchLevel? = null, val lightingMatchLevel: MatchLevel? = null, val sharpnessMatchLevel: MatchLevel? = null, val handOcclusionMatchLevel: MatchLevel? = null, val dpiMatchLevel: MatchLevel? = null, val tiltMatchLevel: MatchLevel? = null, val imageQualityInterpretation: ImageQualityInterpretation? = null) : Parcelable

Class representing options for image quality settings. Stricter settings will provide better quality images as the scan will not complete until they are met. If nullable settings are not set, internal defaults will be used.

Constructors

Link copied to clipboard
constructor(blurMatchLevel: MatchLevel? = null, glareMatchLevel: MatchLevel? = null, lightingMatchLevel: MatchLevel? = null, sharpnessMatchLevel: MatchLevel? = null, handOcclusionMatchLevel: MatchLevel? = null, dpiMatchLevel: MatchLevel? = null, tiltMatchLevel: MatchLevel? = null, imageQualityInterpretation: ImageQualityInterpretation? = null)

Properties

Link copied to clipboard

Threshold for detecting blur. Higher levels provide stricter detection.

Link copied to clipboard

Defines DPI match level.

Link copied to clipboard

Threshold for detecting glare. Higher levels provide stricter detection.

Link copied to clipboard

Threshold for detecting hand covering the document. Higher levels provide stricter detection.

Link copied to clipboard

Defines image quality interpretation.

Link copied to clipboard

Threshold for lighting level requirement. Higher levels provide stricter requirement.

Link copied to clipboard

Threshold for sharpness requirement. Higher levels provide stricter requirement.

Link copied to clipboard

Threshold for detecting tilt. Higher levels provide stricter detection.

Functions

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