Class ElectronicHorizon

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

public final class ElectronicHorizon extends Object

A class containing the full set of available paths predicted for the current vehicle state.

Represents a snapshot of the horizon estimation at the moment the update was generated.

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

  • Constructor Details

    • ElectronicHorizon

      public ElectronicHorizon()

      Creates a new instance.

      Offline availability: This property is available online and offline.

  • Method Details

    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • mostPreferredPath

      @Nullable public ElectronicHorizonPath mostPreferredPath()

      Returns the most preferred path among the set of available paths.

      Returns:

      The most preferred path, or null if the list of available paths is empty.