IdentificationFlowOptions class
Configuration options for the identification flow
Constructors
- IdentificationFlowOptions({bool ellipseScreenEnabled = false, bool showUserInformation = true, bool showTimeInformation = false, bool keepIdentification = false, SmartfaceCameraPosition cameraPosition = SmartfaceCameraPosition.back, bool saveImage = false, Duration identifyTimeout = const Duration(seconds: 30), bool enableCheckImageQuality = true, double securityLevel = 0.0, bool livenessEnabled = false, double livenessThreshold = 0.98, bool vibratorEnabled = true})
-
const
Properties
- cameraPosition → SmartfaceCameraPosition
-
Camera position: "front" or "back"
final
- ellipseScreenEnabled → bool
-
Enable ellipse screen overlay
final
- enableCheckImageQuality → bool
-
Enable image quality checking before identification
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- identifyTimeout → Duration
-
Timeout for identification in seconds
final
- keepIdentification → bool
-
Keep identification running (continuous mode)
When true, multiple identification results can be received
final
- livenessEnabled → bool
-
Enable liveness detection
final
- livenessThreshold → double
-
Liveness detection threshold (0.0 to 1.0)
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- saveImage → bool
-
Save image to disk on successful identification
final
- securityLevel → double
-
Security level threshold (0.0 to 1.0)
Higher values mean stricter matching
final
- showTimeInformation → bool
-
Show time information during identification
final
- showUserInformation → bool
-
Show user information on successful identification
final
- vibratorEnabled → bool
-
Enable vibration feedback on successful identification
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> - Convert options to a map for platform channel
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited