BiometryType enum
The kind of biometrics of the device. Returned by getBiometryType.
Use it to label your UI, for example "Unlock with Face ID".
Values
- none → const BiometryType
-
The device has no biometrics, or they can not be used.
- fingerprint → const BiometryType
-
Fingerprint: Touch ID on iOS and macOS.
- face → const BiometryType
-
Face recognition: Face ID on iOS.
- iris → const BiometryType
-
Iris recognition: Optic ID on Apple platforms.
- multiple → const BiometryType
-
The device has more than one kind of biometrics, and the platform does not tell which one the user will use. Only reported on Android.
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<
BiometryType> - A constant List of the values in this enum, in order of their declaration.