Class ElectronicHorizonUpdate

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

public final class ElectronicHorizonUpdate extends Object

A class representing a full update delivered via ElectronicHorizonListener notifications.

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

    • electronicHorizon

      @Nullable public ElectronicHorizon electronicHorizon

      The full electronic horizon recomputed for the current vehicle state. May be null if there is no update.

      Contains the complete set of preferred paths.

    • segmentChanges

      @Nullable public ElectronicHorizonSegmentChanges segmentChanges

      The difference between the previously emitted horizon and the newly computed one. Contains added and removed segments. May be null if there is no update.

    • position

      @NonNull public ElectronicHorizonPosition position

      The vehicle’s updated position relative to the electronic horizon. Always present. If no electronic_horizon is available, the position refers to the most recently known horizon.

  • Constructor Details

    • ElectronicHorizonUpdate

      public ElectronicHorizonUpdate(@NonNull ElectronicHorizonPosition position)

      Creates a new instance.

      Offline availability: This property is available online and offline.

      Parameters:
      position -

      The vehicle’s updated position relative to the electronic horizon. Always present. If no electronic_horizon is available, the position refers to the most recently known horizon.

  • Method Details