switchToLockConfigurationWithPin
public final Unit switchToLockConfigurationWithPin(Application application, SDKConfiguration sdkConfiguration, CharArray sdkPin, Callback<Unit> callback)
Protected operation to change SDK configuration without resetting. Requires at least one enrolled account.
IllegalStateException may be returned in callback for these reasons:
The function is called before launching the SDK.
There are no enrolled accounts.
Wrong switchToLockConfiguration* method is used for the provided SDKConfiguration.
Parameters
application
to re-launch the SDK with the new configuration
sdkConfiguration
the new SDKConfiguration to apply. Must use LockConfigurationType.SDK_PIN_WITH_BIOMETRICS_OPTIONAL
sdkPin
the SDK PIN to be set for the new configuration
callback
to receive success or failure result of this operation.