BiometricStorage class abstract

Main plugin class to interact with. Is always a singleton right now, factory constructor will always return the same instance.

Inheritance
  • Object
  • PlatformInterface
  • BiometricStorage
Implementers

Constructors

BiometricStorage()
factory
BiometricStorage.create()

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

canAuthenticate() Future<CanAuthenticateResponse>
Returns whether this device supports biometric/secure storage or the reason CanAuthenticateResponse why it is not supported.
delete(String name, PromptInfo promptInfo) Future<bool?>
getStorage(String name, {StorageFileInitOptions? options, bool forceInit = false, PromptInfo promptInfo = PromptInfo.defaultValues}) Future<BiometricStorageFile>
Retrieves the given biometric storage file. Each store is completely separated, and has it's own encryption and biometric lock. if forceInit is true, will throw an exception if the store was already created in this runtime.
linuxCheckAppArmorError() Future<bool>
Returns true when there is an AppArmor error when trying to read a value.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
read(String name, PromptInfo promptInfo) Future<String?>
toString() String
A string representation of this object.
inherited
write(String name, String content, PromptInfo promptInfo) Future<void>

Operators

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

Static Properties

instance BiometricStorage
Platform-specific plugins should set this with their own platform-specific class that extends UrlLauncherPlatform when they register themselves.
no getter