addRouteAddedListener

Adds a RouteAddedListener. The listener is notified of a new Route whenever it is added to the navigation session.

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.