LanguageChangedListener
Informs the caller that the navigation language has changed.
The navigation language is changed when TomTomNavigation.preferredLanguage is set and the route was successfully updated.
To be notified of language changes, add a LanguageChangedListener with TomTomNavigation.addLanguageChangedListener.
val listener = LanguageChangedListener { language ->
/* Your code goes here */
}
tomTomNavigation.addLanguageChangedListener(listener)
Content copied to clipboard
To stop receiving language change notifications, remove the listener using TomTomNavigation.removeLanguageChangedListener.
tomTomNavigation.removeLanguageChangedListener(listener)
Content copied to clipboard
Functions
Link copied to clipboard
Called when the navigation language has changed. It is expected to have this method called after setting TomTomNavigation.preferredLanguage.