NavigationHorizonObserver
public protocol NavigationHorizonObserver : Observer
An observer that receives navigation horizon events.
-
Reports that a horizon snapshot has been updated for a specific set of horizon options.
Declaration
Swift
func didUpdateSnapshot(options: HorizonOptions, snapshot: HorizonSnapshot)Parameters
optionsThe horizon options.
snapshotThe updated horizon snapshot.
-
Reports that a horizon position has been updated for a specific set of horizon options.
Declaration
Swift
func didUpdatePosition(options: HorizonOptions, position: HorizonPosition)Parameters
optionsThe horizon options.
positionThe updated horizon position.
TomTom SDK for iOS (0.40.0)
NavigationHorizonObserver