init

fun init(config: DashConfig)

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 DashConfig 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.


fun init(context: Context, accessToken: String, func: DashConfig.Builder.() -> 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 DashConfig.Builder 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.