Face Simple Capture Fragment
Deprecated
Use `FaceAutoCaptureFragment` with `FaceAutoCaptureFragment.Configuration.Presets.simple` instead.
Constructors
Types
Link copied to clipboard
data class Configuration @JvmOverloads constructor(val cameraFacing: CameraFacing = CameraFacing.FRONT, val cameraPreviewScaleType: CameraPreviewScaleType = CameraPreviewScaleType.FIT, val isTorchEnabled: Boolean = false, val faceSizeRatioInterval: IntervalDouble = IntervalDouble(0.1, 0.3), val query: FaceDetectionQuery = FaceDetectionQuery(), val sessionToken: String? = null)
Configuration for the Face Simple Capture UI component.
Functions
Link copied to clipboard
Called only once for the whole process and as soon as requestCapture has been called and face is detected. Once this callback is called, the whole process is considered to be over.
Link copied to clipboard
Subclasses should override this method to provide Configuration for the Face Simple Capture UI component.
Link copied to clipboard
Request capture event asynchronously (regardless of whether there is a face detected or not).