switchToLockConfigurationNone

public final Unit switchToLockConfigurationNone(Application application, SDKConfiguration sdkConfiguration, Callback<Unit> callback)

Protected operation to change SDK configuration without resetting. Requires at least one enrolled account.

There are two possible error types returned in the callback.

  • IllegalStateException:

  1. The function is called before launching the SDK.

  2. There are no enrolled accounts.

  3. Wrong switchToLockConfiguration* method is used for the provided SDKConfiguration.

  • LockException:

  1. LockInvalidConfigurationException - invalidatedByBiometricChange flag is used LockConfigurationType.NONE

Parameters

application

to re-launch the SDK with the new configuration

sdkConfiguration

the new SDKConfiguration to apply. Must use LockConfigurationType.NONE

callback

to receive success or failure result of this operation.