FaceSimpleCaptureFragment

Constructors

Link copied to clipboard

Types

Link copied to clipboard
object Companion

Functions

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

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
abstract fun onStopped()

Called when the 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 start()

Start the process.

Link copied to clipboard
fun stopAsync()

Stop the process asynchronously.