IBiometricOptions class

Constructors

IBiometricOptions({bool useErrorDialogs = true, bool stickyAuth = false, bool sensitiveTransaction = true, bool biometricOnly = false})
Constructs a new instance.
const

Properties

biometricOnly bool
Prevent authentications from using non-biometric local authentication such as pin, passcode, or pattern.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sensitiveTransaction bool
Whether platform specific precautions are enabled. For instance, on face unlock, Android opens a confirmation dialog after the face is recognized to make sure the user meant to unlock their device.
final
stickyAuth bool
Used when the application goes into background for any reason while the authentication is in progress. Due to security reasons, the authentication has to be stopped at that time. If stickyAuth is set to true, authentication resumes when the app is resumed. If it is set to false (default), then as soon as app is paused a failure message is sent back to Dart and it is up to the client app to restart authentication or do something else.
final
useErrorDialogs bool
Whether the system will attempt to handle user-fixable issues encountered while authenticating. For instance, if a fingerprint reader exists on the device but there's no fingerprint registered, the plugin might attempt to take the user to settings to add one. Anything that is not user fixable, such as no biometric sensor on device, will still result in a PlatformException.
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