addHorizonUpdatedListener

Adds a HorizonUpdatedListener for a specific set of horizon options. The listener will be notified about updates to the horizon snapshot and the horizon position that are generated for these options.

Parameters

listener

The listener to add.

options

The horizon options to notify the listener for.

Throws

if the instance of TomTomNavigation has been closed before.

if a listener has already been added for this set of horizon options.