HorizonOptions

public struct HorizonOptions
extension HorizonOptions: Hashable

Horizon options. For information on how to manage horizon options see HorizonEngine .registerHorizonOptions and HorizonEngine .unregisterHorizonOptions. Horizon options define the extent of the paths in the horizon and the map attributes to be collected for these paths. A set of horizon options consists of the following:

  1. The set of horizon element types in which the client is interested,
  2. The path search options for the main path (the path that the user is currently on, extending along the most likely trajectory),
  3. The path search options for the sub-paths (any horizon path that is not the main path),
  4. The maximum number of paths the client can receive.
  5. Important

    This is a Public Preview API. It may be changed or removed at any time.

Public

Hashable

  • Declaration

    Swift

    public static func == (lhs: HorizonOptions, rhs: HorizonOptions) -> Bool
  • Declaration

    Swift

    public func hash(into hasher: inout Hasher)

HorizonOptions.InitializationError

  • An error that occurs during the creation of the instance.

    See more

    Declaration

    Swift

    public enum InitializationError : Error