addRouteUpdatedListener

Deprecated

This will be removed from future releases after 2026-07-26.

Replace with

import com.tomtom.sdk.navigation.TomTomNavigation
import com.tomtom.sdk.navigation.RouteUpdatedListener2
removeRouteUpdatedListener

Adds a RouteUpdatedListener. The listener is notified of successful updates to the Route.

The listener is invoked on the main/UI thread.

Parameters

listener

The listener to be added.

Throws

if the instance of TomTomNavigation is closed.

if the same listener has already been added.