MethodChannelBiometricAuthorization class
An implementation of BiometricAuthorizationPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- BiometricAuthorizationPlatform
- MethodChannelBiometricAuthorization
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- methodChannel → MethodChannel
-
The method channel used to interact with the native platform.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
authenticate(
{BiometricType biometricType = BiometricType.none, String reason = "Authenticate", String? title, String? confirmText, bool useCustomUI = false, bool useDialogUI = false, String? cancelText}) → Future< bool> -
Initiates biometric authentication using the device's biometric sensors.
override
-
getAvailableBiometricTypes(
) → Future< List< BiometricType> > -
Get available biometric types on the device.
override
-
getPlatformVersion(
) → Future< String?> -
override
-
isBiometricAvailable(
) → Future< bool> -
Check if biometric is available on the device.
override
-
isBiometricEnrolled(
) → Future< bool> -
Check if biometric is enrolled on the device.
override
-
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