init

suspend fun init(app: Application, accountHash: String, configuration: ConfigurationBuilder.() -> Unit = {})

Initializes the ExperienceSDK. You must call this method before any other method can be called from the ExperienceSDK.

See also

for customization possibilities.

Parameters

app

The Android Application object of the host application.

accountHash

This is the account hash string that can be obtained from the Experience Platform Development Portal.

configuration

A function parameter for configuring the ExperienceSDK.