enroll
Standard enroll function, for which the app does not provide an SDK PIN. It needs to be used for all lock configuration types, with the only exception being that the first enrollment for the SDK_PIN_WITH_BIOMETRICS_OPTIONAL lock configuration type needs to take place by using the enrollAndSetupSDKPin function.
Parameters
the activation code for the user’s enrollment.
used to receive the response of the enroll operation.
See also
.enrollWithShortcodeAndSetupSDKPin
Throws
if the SDK has been initialized for LockConfigurationType.SDK_PIN_WITH_BIOMETRICS_OPTIONAL and this is the very first enrollment. In this case the enrollAndSetupSDKPin should have been used instead.
if any of the specified arguments are invalid.
if the SDK is unable to perform necessary cryptographic operations.
if the SDK is locked.
if using SDK_PIN_WITH_BIOMETRICS_OPTIONAL config and the PIN is missing or empty.
if using SDK_PIN_WITH_BIOMETRICS_OPTIONAL config and the PIN verification has failed 5 times.
if the associated API to the Futurae backend calls fail.