FMX.BiometricAuth.TCustomBiometricAuth.GetBiometricAvailability
Delphi
function GetBiometricAvailability: TBiometricAvailability;
C++
TBiometricAvailability __fastcall GetBiometricAvailability();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | FMX.BiometricAuth.pas FMX.BiometricAuth.hpp |
FMX.BiometricAuth | TCustomBiometricAuth |
Description
Returns a more explicit status of authentication availability (only available on Android).
These are the possible return values and their meanings:
- Unknown: Unable to determine the availability (GetBiometricAvailability will always return this value on iOS).
- Available: Biometric authorization is available.
- HardwareUnavailable: The hardware for biometric authorization is unavailable.
- NoHardware: The hardware for biometric authorization does not exist.
- NoneEnrolled: No Face ID and/or fingerprints are enrolled for the current user.
- SecurityUpdateRequired: Biometric authorization needs a security update before it will be available.
- Unsupported: Biometric authorization is not supported on the device.