start

fun start(application: Application, appId: String, policy: HSPolicy)

Call this function to start the SDK with a single AppID. You should call this function only once.

Parameters

application

The application object.

appId

The AppID of your account.

policy

The policy object that config the SDK.


fun start(application: Application, appIds: ArrayList<String>, policy: HSPolicy)

Call this function to start the SDK with multiple AppIDs. You should call this function only once.

Parameters

application

The application object.

appIds

The list of AppIDs for your account.

policy

The policy object that configures the SDK.