addHorizonUpdatedListener

Adds a HorizonUpdatedListener for a specific set of horizon options. The listener is notified of 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 is closed.

if the given listener has already been added for the given set of options.