init

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

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

Initialization can only be performed once and the Dash object cannot be re-initialized within the running process again.

A subset of configuration options found in DashInit can be updated at any point in time via Dash.applyUpdate.

Once Dash is initialized, you can add a DashNavigationFragment to your layout to load the map and start the navigation experience.