NavigationHorizonObserver

public protocol NavigationHorizonObserver : Observer

An observer that receives navigation horizon events.

Important

This is a Public Preview API. It may be changed or removed at any time.
  • 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.