addInitializationFinishedCallback

final Unit addInitializationFinishedCallback(String appId, Function0<Unit> callback)

Use this function to get notified when the PerimeterX SDK is ready for the given AppID. If it's already ready, the callback will be called immediately. You should call this function only after you have already called the start(appId:delegate:completion:) function for the given AppID.

Parameters

appId

The AppID of your account. Ignore this param if you use only one AppID.

callback

A callback block. Called when the PerimeterX is ready.