startSimulationWithRoute

external fun startSimulationWithRoute(route: Route, navigationListener: NavigationListener, progressListener: ProgressListener, speedMultiplier: Float = 1.0f): Int

Start a new navigation.

Parameters

route

Route to use for the navigation.

navigationListener

Listener for navigation-specific events.

progressListener

Listener to be used for signaling route calculation progress events. This will be used only when the route is recalculated.

speedMultiplier

The route simulation speed multiplier. Accepted values are in the interval [simulationMinSpeedMultiplier, simulationMaxSpeedMultiplier] If set to 1.f the simulation speed is the speed limit of the traveled links