Configuration
data class Configuration @JvmOverloads constructor(val cameraFacing: CameraFacing = CameraFacing.FRONT, val cameraPreviewScaleType: CameraPreviewScaleType = CameraPreviewScaleType.FIT, val isTorchEnabled: Boolean = false, val captureMode: CaptureMode = CaptureMode.AUTO_CAPTURE, val qualityAttributeThresholds: QualityAttributeThresholds = QualityAttributeThresholdPresets.standard, val isPlaceholderVisible: Boolean = true, val isDetectionLayerVisible: Boolean = false, val sessionToken: String? = null)
Configuration for the Face Auto Capture UI component.
Constructors
Link copied to clipboard
fun Configuration(cameraFacing: CameraFacing = CameraFacing.FRONT, cameraPreviewScaleType: CameraPreviewScaleType = CameraPreviewScaleType.FIT, isTorchEnabled: Boolean = false, captureMode: CaptureMode = CaptureMode.AUTO_CAPTURE, qualityAttributeThresholds: QualityAttributeThresholds = QualityAttributeThresholdPresets.standard, isPlaceholderVisible: Boolean = true, isDetectionLayerVisible: Boolean = false, sessionToken: String? = null)
Types
Properties
Link copied to clipboard
Link copied to clipboard
The camera preview scale type. Default value is CameraPreviewScaleType.FIT.
Link copied to clipboard
Link copied to clipboard
Quality attribute thresholds. Default value is QualityAttributeThresholdPresets.standard.