segment property

SegmentReference segment
getter/setter pair

A segment for which the new base speed is specified. Only the segmendId and travelDirection parameters are used, other parameters are ignored. Setting a segmendId is mandatory.

Note: The SegmentReference is not directly accessible from the map via the HERE SDK. Although, after route calculation you can retrieve the related segments for each Span. The segment IDs are the same that are also used by, for example, the Routing REST API. These IDs are mostly stable and only change when the underlying map data changes due to a new road or similar changes in the real world.

Implementation

SegmentReference segment;