ElectronicHorizonPath

public struct ElectronicHorizonPath : Hashable

Represents a single electronic horizon path.

Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.

  • The index of the parent path. Index 0 marks the most-preferred path.

    Declaration

    Swift

    public var parentPathIndex: Int32?
  • The index of the parent segment in the parent path. This value is nil if the path is the most-preferred path.

    Declaration

    Swift

    public var parentSegmentIndex: Int32?
  • The ordered list of segments in this path. The list can be empty when no segments are available for the current path.

    Declaration

    Swift

    public var segments: [ElectronicHorizonSegment]
  • The probability of this electronic horizon path, where a value of 1 represents the most-preferred path and a value of 0 represents an unlikely path.

    Declaration

    Swift

    public var probability: Double
  • The level of this path. A value of 0 represents the most-preferred path.

    Declaration

    Swift

    public var level: Int32
  • Creates a new instance.

    Offline availability: This property is available online and offline.

    Declaration

    Swift

    public init(parentPathIndex: Int32? = nil, parentSegmentIndex: Int32? = nil, segments: [ElectronicHorizonSegment], probability: Double, level: Int32)