Dash

object Dash

Entry point to Dash SDK.

init is required to be called from Application.onCreate before any interaction with Dash SDK.

Properties

Link copied to clipboard

Controller for a Dash instance running in the host application.

Link copied to clipboard

Defines whether Dash has already been initialized in this application process.

Link copied to clipboard

Functions

Link copied to clipboard
fun applyUpdate(func: DashUpdate.() -> Unit)

When used, all values from the original DashConfiguration are preserved and only the mutations are applied and reflected in a new config instance.

Link copied to clipboard
fun init(context: Context, accessToken: String, func: DashInit.() -> Unit = {})

Call this initialization function from Application.onCreate and provide the configuration.