requestCapture method

Future<void> requestCapture({
  1. bool isFacePresenceRequired = false,
})

Request capture of the next detection. If isFacePresenceRequired is 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. Default is false.

Implementation

Future<void> requestCapture({bool isFacePresenceRequired = false}) {
  return _component.requestCapture(isFacePresenceRequired);
}