ElectronicHorizonUpdate (API Reference)
Class ElectronicHorizonUpdate
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 Summary
FieldsModifier and TypeFieldDescriptionThe full electronic horizon recomputed for the current vehicle state.The vehicle’s updated position relative to the electronic horizon.The difference between the previously emitted horizon and the newly computed one. -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new instance. -
Method Summary
-
Field Details
-
electronicHorizon
The full electronic horizon recomputed for the current vehicle state. May be
nullif there is no update.Contains the complete set of preferred paths.
-
segmentChanges
The difference between the previously emitted horizon and the newly computed one. Contains added and removed segments. May be
nullif there is no update. -
position
The vehicle’s updated position relative to the electronic horizon. Always present. If no
electronic_horizonis available, the position refers to the most recently known horizon.
-
-
Constructor Details
-
ElectronicHorizonUpdate
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_horizonis available, the position refers to the most recently known horizon.
-
-
Method Details