switchToLockConfigurationBiometricsOrCredentials
Protected operation to change SDK configuration without resetting. Requires at least one enrolled account. This method will attempt to authenticate the user.
There are two possible error types returned in the callback.
IllegalStateException:
The function is called before launching the SDK.
There are no enrolled accounts.
Wrong switchToLockConfiguration* method is used for the provided SDKConfiguration.
LockException:
LockInvalidConfigurationException - invalidatedByBiometricChange flag is used LockConfigurationType.NONE
LockMechanismUnavailableException - lock screen is not set and biometrics not enrolled on this device.
Parameters
the new SDKConfiguration to apply. Must use LockConfigurationType.BIOMETRICS_OR_DEVICE_CREDENTIALS
the FragmentActivity that will display the authentication prompt. Also usedto get the application to re-launch the SDK
the title of the authentication prompt.
the subtitle of the authentication prompt.
the description of the authentication prompt.
the "close" button of the authentication prompt.
to receive success or failure result of this operation.