FaceAutoCaptureFragment

Face Auto Capture UI component.

A visual component for capturing good quality face images.

Constructors

Link copied to clipboard

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard

Called only once for the whole process, when candidate selection has been started.

Link copied to clipboard
abstract fun onCaptured(result: FaceAutoCaptureResult)

Called only once for the whole process, when the final face image candidate has been chosen. Once this callback is called, the whole process is considered to be over.

Link copied to clipboard
abstract fun onNoCameraPermission()

Called when camera permission was not granted.

Link copied to clipboard
abstract fun onProcessed(detection: FaceAutoCaptureDetection)

Called when a camera image is processed.

Link copied to clipboard
abstract fun onStopped()

Called when the face auto capture process is stopped after calling stopAsync method.

Link copied to clipboard

Request capture event asynchronously (regardless of whether there is a face detected or not).

Link copied to clipboard
fun restart()

Restart the face auto capture process.

Link copied to clipboard
fun start()

Start the process.

Link copied to clipboard
fun stopAsync()

Stop the process asynchronously.