Builder
class Builder
Configuration builder.
Constructors
Functions
Link copied to clipboard
Link copied to clipboard
Front or back camera facing.
Link copied to clipboard
fun cameraPreviewScaleType(cameraPreviewScaleType: CameraPreviewScaleType): DocumentAutoCaptureConfiguration.Builder
The camera preview scale type.
Link copied to clipboard
If detection UI layer (tracking rectangle) is visible.
Link copied to clipboard
If Machine Readable Zone reading is enabled.
Link copied to clipboard
Configuration of MRZ (Machine Readable Zone) validation mode.
Link copied to clipboard
fun placeholderType(placeholderType: DocumentAutoCaptureConfiguration.PlaceholderType): DocumentAutoCaptureConfiguration.Builder
Sets the type of placeholder used in document auto-capture UI.
Link copied to clipboard
fun qualityAttributeThresholds(qualityAttributeThresholds: QualityAttributeThresholds): DocumentAutoCaptureConfiguration.Builder
Quality attribute thresholds.
Link copied to clipboard
Session token provided by DIS (Digital Identity Service). Set the session token if the result should be posted to DIS for evaluation.
Link copied to clipboard
If torch is enabled during the process. If the camera doesn't have a flash unit, then this setting will be ignored.
Link copied to clipboard
Validation mode.