addAnnouncementListener

Adds an AnnouncementListener. The listener is notified of new Announcement instances, whenever there is a change in location and a new announcement is successfully generated.

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.