selectActiveRoute

abstract fun selectActiveRoute(routeId: RouteId)

Selects the Route with provided RouteId as active. The navigation will switch to navigate along the desired route and the RouteUpdatedListener will be notified. If the route corresponding to the given routeId is not available, the selection operation will have no effect.

Important: This is a Public Preview API. It may be changed or removed at any time.

Parameters

routeId

An identifier associated with the Route to be selected.

Throws

if the instance of TomTomNavigation has been closed before.