unlockWithSDKPin
Unlocking method that could be called prior to using a locked functionality, when the SDK LockConfigurationType is SDK_PIN_WITH_BIOMETRICS_OPTIONAL. This will unlock the SDK with the Custom App PIN set during the enrollment. The app needs to implement the relevant mechanism to ask the user to provide the Custom App PIN and then invoke this function.
Parameters
sdkPin
the SDK PIN the user has provided prior to calling the function.
callback
used to receive the response of the unlock operation.
See also
Throws
if SDK is configured with BIOMETRICS_ONLY, BIOMETRICS_OR_DEVICE_CREDENTIALS or NONE.
if the associated API to the Futurae backend calls fail.
if any of the specified arguments are invalid.
FTApiPinIncorrectException
if the PIN is missing or empty
FTApiDeviceArchivedException
if the PIN verification has failed 5 times.