メインコンテンツまでスキップ

Engine type

The Navigation SDK UX Framework provides the ability to specify the engine type. Now, the engine type only affects EV functionality, but in the future, the SDK may also consider other types of engines when planning routes.

To set the engine type, it must be specified during the UX Framework initialization:

Dash.init(
applicationContext = applicationContext,
accessToken = getString(R.string.mapbox_access_token)
) {
// ...
engineType = EngineType.ELECTRIC
}

It is not possible to update engine type in runtime after Dash.init.

この{Type}は役に立ちましたか?