addLocationMapMatchedListener

@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
abstract fun addLocationMapMatchedListener(listener: LocationMapMatchedListener)

Adds a LocationMapMatchedListener. The listener is notified of new MapMatchingResult each time a location change occurs and the MapMatchingEngine successfully matches it.

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.