BiometricService class abstract
This interface defines a Biometric service.
Constructors
- BiometricService()
-
The default, const constructor. Used by subclasses.
const
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
-
isAvailable(
) → Future< bool> - Check if Biometrics is available on the device.
-
isLocked(
) → Future< bool> - Check if the session is locked by Biometrics.
-
isOptIn(
) → Future< bool> - Check if the device is enrolled in Biometrics.
-
lockSession(
) → Future< void> - Lock the session with biometrics.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
optIn(
{Map< String, dynamic> parameters = const <String, dynamic>{}}) → Future<void> - Opt into biometrics.
-
optOut(
{Map< String, dynamic> parameters = const <String, dynamic>{}}) → Future<void> - Opt out of biometrics.
-
toString(
) → String -
A string representation of this object.
inherited
-
unlockSession(
{Map< String, dynamic> parameters = const <String, dynamic>{}}) → Future<void> - Unlock the session with biometrics.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited