SimpleBiometricPlatform class abstract

The common platform interface for simple_biometric.

This interface defines the contract that platform-specific implementations (e.g., MethodChannel or Pigeon-based) must adhere to.

Inheritance
  • Object
  • PlatformInterface
  • SimpleBiometricPlatform
Implementers

Constructors

SimpleBiometricPlatform()
Constructs a SimpleBiometricPlatform.

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

getAndroidBiometricTypes() Future<List<AndroidBiometricType>>
Returns a list of all detected biometric hardware types on Android.
getIOSBiometricType() Future<IOSBiometricType>
Returns the specific biometric type available on iOS (FaceID vs TouchID).
getPlatformVersion() Future<String?>
Returns the platform version string.
isAndroidBiometricHardwareAvailable() Future<bool>
Checks if Android biometric hardware is present on the device.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
showBiometricPrompt({String? title, String? description, String? cancelText}) Future<BiometricStatusResult?>
Shows the native biometric authentication prompt.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

instance SimpleBiometricPlatform
The default instance of SimpleBiometricPlatform to use.
getter/setter pair