nextTotpWithBiometrics
Returns the current 6 digit used in the TOTP offline authentication, for the provided user id. Before calling this function, it should be confirmed that the user has biometrics enabled by using the function getActiveUnlockMethods. This method is only available when the SDK LockConfigurationType is SDK_PIN_WITH_BIOMETRICS_OPTIONAL.
Parameters
the Futurae account's user id.
the activity that will present the biometric authentication to the user.
the title used for the Biometrics prompt.
the subtitle used for the Biometrics prompt.
the description used for the Biometrics prompt.
the text for the “cancel” button of the Biometrics prompt.
used to receive the verification code or the error of this operation.
See also
.nextTotp
Throws
if the SDK is configured with a LockConfigurationType other than SDK_PIN_WITH_BIOMETRICS_OPTIONAL.
if any of the specified arguments are invalid or the user-id is not an enrolled account.
if the biometrics verification fails.