FMX.BiometricAuth.IFMXBiometricAuthService.GetBiometricAvailability

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetBiometricAvailability: TBiometricAvailability;

C++

virtual TBiometricAvailability __fastcall GetBiometricAvailability() = 0 ;

Properties

Type Visibility Source Unit Parent
function public
FMX.BiometricAuth.pas
FMX.BiometricAuth.hpp
FMX.BiometricAuth IFMXBiometricAuthService

Description

Note: This method is only available on Android.

Returns a more explicit status of biometric authentication availability.

The possible values are:

  • Unknown: Unable to determine the availability. (It will always return this value on iOS).
  • Available: Biometric authentication is available.
  • HardwareUnavailable: The hardware for biometric authentication is unavailable.
  • NoHardware: The hardware for biometric authentication does not exist.
  • NoneEnrolled: No Face ID and/or fingerprints are enrolled for the current user.
  • SecurityUpdateRequired: Biometric authentication needs a security update to be available.
  • Unsupported: Biometric authentication is not supported on the device.