HorizonEvent

public enum HorizonEvent

Represents the horizon events.

  • Indicates that the horizon snapshot has been updated.

    Declaration

    Swift

    case didUpdateSnapshot(options: HorizonOptions, snapshot: HorizonSnapshot)

    Parameters

    options

    The options used to create the horizon.

    snapshot

    The updated snapshot.

  • Indicates that the horizon position has been updated.

    Declaration

    Swift

    case didUpdatePosition(options: HorizonOptions, position: HorizonPosition)

    Parameters

    options

    The options used to create the horizon.

    position

    The updated position.