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
options
The horizon options.
snapshot
The 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
options
The horizon options.
position
The updated horizon position.