FMX.BiometricAuth.TCustomBiometricAuth.GetBiometryKind

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetBiometryKind: TBiometryKind;

C++

TBiometryKind __fastcall GetBiometryKind();

Properties

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

Description

Returns what type of biometry is currently active (only in iOS).

Note: For Android it is not possible to determine what type of biometry is currently active, so GetBiometryKind will always return Unknown.

Possible return values are:

  • Unknown: Unable to determine availability - the method 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

See Also