MethodChannelBiometricAuthAdvanced class
An implementation of BiometricAuthAdvancedPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- BiometricAuthAdvancedPlatform
- MethodChannelBiometricAuthAdvanced
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(
{required String title, String? subtitle, String? description, String negativeButtonText = 'Cancel', bool confirmationRequired = false, bool allowDeviceCredential = false, String biometricStrength = 'strong'}) → Future< Map< String, dynamic> > -
Authenticate using biometrics or device credentials
override
-
canAuthenticateWithBiometricsStrong(
) → Future< bool> -
Check if device supports strong biometric authentication
override
-
canAuthenticateWithBiometricsWeak(
) → Future< bool> -
Check if device supports weak biometric authentication
override
-
canAuthenticateWithDeviceCredential(
) → Future< bool> -
Check if device credentials are enrolled
override
-
cancelAuthentication(
) → Future< void> -
Cancel current authentication
override
-
canCheckBiometrics(
) → Future< bool> -
Check if biometric hardware is available on the device
override
-
getAvailableBiometrics(
) → Future< List< String> > -
Get list of available biometric types on the device
override
-
getBiometricInfo(
) → Future< Map< String, dynamic> > -
Get detailed information about device biometric capabilities
override
-
getPlatformVersion(
) → Future< String?> -
override
-
hasEnrolledBiometrics(
) → Future< bool> -
Check if device has enrolled biometrics
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