DashInit

Inheritors

Properties

Link copied to clipboard
abstract val accessToken: String
Link copied to clipboard
Link copied to clipboard
abstract var applicationId: String

The application ID of the app that the plugin is being used in.

Link copied to clipboard
Link copied to clipboard

A config for custom location provider implementation. See CustomLocationFactoryProviderConfig for details. Note that in the config you must specify a location provider type: LocationProviderType.REAL, LocationProviderType.MOCKED or LocationProviderType.MIXED. Note that locations emitted by a custom location provider must set a valid value for isMock extra flag: real locations must have it set to false or not set at all, while mocked/simulated locations must have it set to true. Every location object specifies this flag, so if your location provider's type is LocationProviderType.MIXED, emitted locations will just have different flag values, depending on whether they are real or mocked. To set this flag, use:

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract var device: DashDeviceType

DashDeviceType that defines the type of device on which the app is running. The type of device providing data to the navigator.

Link copied to clipboard
abstract var engineType: String?

Configures vehicle's engine type.

Link copied to clipboard
abstract var environment: String

The environment in which the plugin is being used.

Link copied to clipboard
Link copied to clipboard
abstract var locale: Locale

Locale that should be used for guidance instruction and other localization features.

Link copied to clipboard
Link copied to clipboard
abstract var logLevel: Int

One of LogsExtra levels to define the logs that should be produced by Dash SDK.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Dash UI elements appearance configuration.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Configures default unit of measurement.

Link copied to clipboard
abstract var versionName: String

The version name of the app that the plugin is being used in.

Link copied to clipboard

Functions

Link copied to clipboard

Configures the analytics.

Link copied to clipboard

Configures camera behavior.

Link copied to clipboard

Configures debug settings.

Link copied to clipboard

Configures UI routing.

Link copied to clipboard

Configures the ETA panel.

Link copied to clipboard

Configures the location simulation.

Link copied to clipboard

Configures voice assistant.

Link copied to clipboard

Configures the Mapbox Maps styles used with Dash. You can edit or create new ones via Mapbox Studio.

Link copied to clipboard

Configures the route options.

Link copied to clipboard

Configures search.

Link copied to clipboard

Configures speed limits options.

Link copied to clipboard

Configures appearance of Dash's UI elements.

Link copied to clipboard
fun DashInit.ui(f: DashUiInit.() -> Unit)

Configures UI properties.

Link copied to clipboard

Configures UI Settings

Link copied to clipboard

Configures the voices used for Dash Navigation and MapGPT.