Free driving

VERSION 0.3.34
PUBLIC PREVIEW

Navigation SDK for Android is only available upon request. Contact us to get started.

Free driving is navigation without a route. It provides detailed information about the current location such as speed, speed limit, country, and street name. It also matches the current location of the user to the road. Location details can be obtained using the OnLocationContextListener.

At any time, you can change from free driving mode to the turn-by-turn navigation using the TomTomNavigation.update(RoutePlan, RouteUpdatedCallback?) method. Read more about updating the Route in the Update route guide.

Starting navigation

First, add the navigation module to your project and set up a TomTomNavigation object. Read how to do this in the Quickstart guide.

If TomTomNavigation is initialized, you can start navigation using the TomTomNavigation.start() method.

tomTomNavigation.start()

To stop any currently running navigation use the TomTomNavigation.stop() method. The method also clears all data related to navigation. If navigation has not been started, the stop method will have no effect.

tomTomNavigation.stop()

center