launch

public final Unit launch(Application application, SDKConfiguration sdkConfiguration)

Function that Initializes the SDK.

Parameters

application

the instance of your android Application class.

sdkConfiguration

the SDKConfiguration instance.

Throws

Indicates that the SDK was found to be initialized with an invalid combination of lock configuration type or unlock duration.

if sdkConfiguration uses setInvalidatedByBiometricChange(true) and no supported biometrics are available on the device, or LockConfigurationType.NONE is used.

if setInvalidatedByBiometricChange(false) with LockConfigurationType.BIOMETRICS_OR_DEVICE_CREDENTIALS and the device has no biometrics or lock credentials are available.

if the SDK is unable to create the necessary cryptographic components.

if the SDK detects corrupted or missing keys and tokens and cannot initialize. This state requires an SDK reset.

if the SDK is already initialized.