requestCapture

fun requestCapture(isFacePresenceRequired: Boolean = false)

Request capture event asynchronously.

Parameters

isFacePresenceRequired

If true, the result will be captured only if a face is detected with defined quality attributes. Otherwise, the result will be captured regardless of the face presence.