Debug settings
It is possible to configure the content of Debug
settings screen in the UX Framework. By default all debug items are invisible.
There are 3 available options that can be visible:
showDisplaySendDebugInfoButtonOption
- enablesDisplay Send Debug Info Button
setting option.showSimulateLocationOption
- enablesSimulate Location
setting option.showElectricOptionsItem
- enablesElectric options
setting option. Note that alsoVehicleType
should beElectric
.
Dash.init(
applicationContext = applicationContext,
accessToken = getString(R.string.mapbox_access_token)
) {
debugSettings {
showSimulateLocationOption = true
showDisplaySendDebugInfoButtonOption = true
showElectricOptionsItem = true
}
}
Send Debug Info Button
visibility on the map can be also toggled with
Dash.init(
applicationContext = applicationContext,
accessToken = getString(R.string.mapbox_access_token)
) {
debugSettings {
showSendDebugInfoButton = true
}
}
Was this page helpful?