LivenessCheckSettings class

Behavior settings for the liveness check.

Constructors

LivenessCheckSettings({bool enableBlinkDetection = true, int requiredBlinkCount = 3, bool enableSmileDetection = true, bool showProgress = true, bool autoNavigateOnSuccess = true, bool showErrorMessage = true, bool showTryAgainButton = true, int maxRetryAttempts = 3, Duration processingTimeout = const Duration(seconds: 30), double circlePositionY = 0.38, Duration? photoCaptureDelay = const Duration(milliseconds: 0)})
Creates liveness check settings.
const

Properties

autoNavigateOnSuccess bool
Whether to automatically navigate on successful verification.
final
circlePositionY double
Vertical position of the circle (0.0 to 1.0).
final
enableBlinkDetection bool
Whether to enable blink detection for liveness check.
final
enableSmileDetection bool
Whether to enable smile detection for liveness check.
final
hashCode int
The hash code for this object.
no setterinherited
maxRetryAttempts int
Maximum number of retry attempts allowed.
final
photoCaptureDelay Duration?
Delay before capturing photo after liveness check passes.
final
processingTimeout Duration
Timeout duration for processing.
final
requiredBlinkCount int
Number of blinks required to pass the liveness check.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showErrorMessage bool
Whether to show error messages to the user.
final
showProgress bool
Whether to show progress indicators during the check.
final
showTryAgainButton bool
Whether to show the try again button on failure.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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