Builder

class Builder(val applicationContext: Context, val accessToken: String) : DashConfigBuilder<DashConfig, DashConfig.Builder>

Creates a new instance of DashConfig.

Parameters

applicationContext

context of the application.

accessToken

access token from your Mapbox account. You can create a new one in your Mapbox Account.

Constructors

Link copied to clipboard
constructor(applicationContext: Context, accessToken: String)

Properties

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

Configures camera.

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

Map of custom configuration key -> value pairs.

Link copied to clipboard

Configures DestinationPreview.

Link copied to clipboard

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

Configures vehicle's engine type.

Link copied to clipboard

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

Link copied to clipboard

Configures location simulation.

Link copied to clipboard

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

Link copied to clipboard

Configures the Mapbox MapGPT feature used within Dash.

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 TTS engine: local or remote.

Link copied to clipboard

Configures route options.

Link copied to clipboard

Configures Search.

Link copied to clipboard

Configure speed limits options.

Link copied to clipboard

Configures appearance of Dash's UI elements.

Link copied to clipboard

Configures UI.

Link copied to clipboard

Configures UI Settings.

Link copied to clipboard

Configures default unit of measurement.

Link copied to clipboard

Configures the voices used for Dash Navigation and MapGPT.

Link copied to clipboard

Configures Weather.

Functions

Link copied to clipboard
open override fun build(): DashConfig

Creates a new instance of DashConfig.

Link copied to clipboard

Configures camera.

Link copied to clipboard

Configures camera.

Link copied to clipboard

Configures DestinationPreview.

Link copied to clipboard
Link copied to clipboard

Configures location simulation.

Link copied to clipboard

Configures the Mapbox MapGPT feature used within Dash.

Link copied to clipboard

Configures the Mapbox MapGPT feature used within Dash.

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 Mapbox Maps styles used with Dash. You can edit or create new ones via Mapbox Studio.

Link copied to clipboard

Configures route options.

Link copied to clipboard
Link copied to clipboard

Configures Search.

Link copied to clipboard

Configures Search.

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

Configures appearance of Dash's UI elements.

Link copied to clipboard

Configures appearance of Dash's UI elements.

Link copied to clipboard

Configure UI setup.

Link copied to clipboard

Configure UI setup.

Link copied to clipboard

Configures UI Settings.

Link copied to clipboard

Configures UI Settings.

Link copied to clipboard

Configuration settings for the Text to Speech voices utilized by Dash.

Link copied to clipboard

Configuration settings for the Text to Speech voices utilized by Dash.

Link copied to clipboard

Configures Weather.

Link copied to clipboard

Configures Weather.