Configuration
Configuration for the Document Auto Capture UI component.
Parameters
Front or back camera facing. Default value is CameraFacing.BACK.
Camera preview scale type. Default value is CameraPreviewScaleType.FIT.
If torch is enabled during the process. If the camera doesn't have a flash unit, then this setting will be ignored. Default value is false
.
How strict position validation is. Default value is ValidationMode.STANDARD.
Quality attribute thresholds. Default value is QualityAttributeThresholdPresets.standard.
If detection UI layer (tracking rectangle) is visible. Default value is false
.
Configuration of MRZ (Machine Readable Zone) validation mode. Default value is MrzValidation.NONE.
Session token provided by DIS (Digital Identity Service). Set the session token if the result should be posted to DIS for evaluation. Default value is null
.
Sets the type of placeholder used in document auto-capture UI. Default value is PlaceholderType.CORNERS_ONLY.