AndroidOptions class

Android-specific options for biometric authentication.

Constructors

AndroidOptions({AndroidPromptInfos? promptInfo, required int authenticationValidityDurationSeconds, required bool enableStrongBox})

Properties

authenticationValidityDurationSeconds int
The duration in seconds for which the authentication is valid. If the user sets it to -1 (default), user must authenticate each time they want to get or set a secret.
getter/setter pair
enableStrongBox bool
Whether to use the StrongBox hardware-backed keystore. This feature seems to cause crashes, enable with caution.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
promptInfo AndroidPromptInfos?
Details of the prompt to show to the user.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

encode() Object
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

Static Methods

decode(Object result) AndroidOptions