BiometricStorageExceptionCode enum
Why a BiometricStorageException was raised.
New members may be added in a minor release, so a switch over this should
carry a default rather than being exhaustive.
Values
- alreadyInitialized → const BiometricStorageExceptionCode
-
BiometricStorage.getStorage was called for a name already opened in this runtime, with
forceInit: true. A caller's own mistake: pick a different name, or drop the flag. - storageFailure → const BiometricStorageExceptionCode
-
The platform's credential store refused the operation — as opposed to simply not holding a value, which is reported as
nullfrom BiometricStorageFile.read andfalsefrom a delete. Worth surfacing to the user or retrying; not a programming error. - unknown → const BiometricStorageExceptionCode
-
Raised before this enum existed, or by a path that has not been classified. Treat as storageFailure for handling purposes.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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
Constants
-
values
→ const List<
BiometricStorageExceptionCode> - A constant List of the values in this enum, in order of their declaration.