NavigationHorizonObserver

public protocol NavigationHorizonObserver : Observer

An observer to receive navigation horizon events.

Warning

This is an experimental API. It may be changed or removed at any time without notice. Use of this API is strongly discouraged
  • Reports that a horizon has been generated.

    Declaration

    Swift

    func didGenerateHorizon(horizon: HorizonSnapshot, options: HorizonOptions)

    Parameters

    horizon

    The generated horizon snapshot.

    options

    The options used to generate the horizon.

  • HorizonOptions that define which events the observer is listening for. The observer needs to be removed and added again when changing the options.

    Declaration

    Swift

    var options: HorizonOptions { get }