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:
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
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.