MLLivenessCapture class

Constructors

MLLivenessCapture()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
startDetect({bool? detectMask}) Future<MLLivenessCaptureResult>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

cameraNoPermission → const int
The camera permission is not obtained.
cameraStartFailed → const int
Failed to start the camera.
detectFaceTimeout → const int
The face detection module times out. (The duration does not exceed 2 minutes.)
detectMask → const int
Sets whether to detect the mask.
maskWasDetected → const int
A mask is detected.
noFaceWasDetected → const int
No face is detected.
startDetectFace → const int
startDetectLiveness → const int
userCancel → const int
The operation is canceled by the user.
userDefinedActionsInvalid → const int
The user-defined action is invalid.