activateBiometrics

public abstract AsyncCompletableOperation activateBiometrics(PresentationConfigurationForBiometricsPrompt presentationConfigurationForBiometricsPrompt)

Activate the biometric authentication as a means of convenience to verify the user presence, so that the user doesn't have to enter the PIN to unlock the SDK. This method shall only be called when the SDK LockConfigurationType is SDK_PIN_WITH_BIOMETRICS_OPTIONAL.

This is a protected operation, so the SDK must be unlocked before calling this method.

Parameters

presentationConfigurationForBiometricsPrompt

a configuration for a system biometrics prompt.

See also

Throws

if the SDK is locked.

if biometric authentication failed.

if the device does not support biometrics verification, or if the device has no supported biometrics configured.

if the SDK is configured with a LockConfigurationType other than SDK_PIN_WITH_BIOMETRICS_OPTIONAL.

if the SDK cannot retrieve the SDK PIN from memory

if the SDK cannot access necessary cryptographic material or perform cryptographic operations