FMX.BiometricAuth.TBiometricAuth

From RAD Studio API Documentation
Jump to: navigation, search

FMX.BiometricAuth.TCustomBiometricAuthSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTBiometricAuth

Delphi

TBiometricAuth = class(TCustomBiometricAuth)

Properties

Type Visibility Source Unit Parent
class public FMX.BiometricAuth.pas FMX.BiometricAuth FMX.BiometricAuth

Description

Provides a means of authorization via biometrics (e.g., Face ID or Fingerprint) on Android and iOS devices.

Attention: For Android, TBiometricAuth is currently supported only on Android 10 or higher.

Use TBiometricAuth from the component pallet (e.g., on a form or datamodule), and set the desired properties.

If the application is available for Android or iOS, ensure the prompt properties of PromptDescription and PromptTitle have values. Also, ensure that the desired strengths are specified for BiometricStrengths.

Finally, create handlers for the OnAuthenticateSuccess or OnAuthenticateFail events to handle what should happen in those scenarios.

Note: TBiometricAuth inherits from TComponent, the common ancestor of all component classes.

See Also