Class ElectronicHorizonPath

java.lang.Object
com.here.sdk.electronichorizon.ElectronicHorizonPath

public final class ElectronicHorizonPath extends Object

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.

  • Field Details

    • parentPathIndex

      @Nullable public Integer parentPathIndex

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

    • parentSegmentIndex

      @Nullable public Integer parentSegmentIndex

      The index of the parent segment in the parent path. This value is null if the path is the most-preferred path.

    • segments

      @NonNull public List<ElectronicHorizonSegment> segments

      The ordered list of segments in this path. The list can be empty when no segments are available for the current path.

    • probability

      public double probability

      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.

    • level

      public int level

      The level of this path. A value of 0 represents the most-preferred path.

  • Constructor Details

    • ElectronicHorizonPath

      public ElectronicHorizonPath(@NonNull List<ElectronicHorizonSegment> segments, double probability, int level)

      Creates a new instance.

      Offline availability: This property is available online and offline.

      Parameters:
      segments -

      The ordered list of segments in this path. The list can be empty when no segments are available for the current path.

      probability -

      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.

      level -

      The level of this path. A value of 0 represents the most-preferred path.

  • Method Details