LocationContextUpdatedListener

Used to inform the caller that the location context has been updated.

In order to listen to the location context updates, implement this interface to create a listener, for instance:

val locationContextUpdatedListener = LocationContextUpdatedListener {
override onLocationContextUpdated(locationContext: LocationContext) {
// Implement the necessary functionality for handling the location context update
}
}

Subsequently, add this listener using TomTomNavigation.addLocationContextUpdatedListener: To stop listening to location context updates, remove the listener using TomTomNavigation.removeLocationContextUpdatedListener:

Functions

Link copied to clipboard
abstract fun onLocationContextUpdated(locationContext: LocationContext)

Called whenever the LocationContext data has been updated.