Class SectionProgress

java.lang.Object
com.here.sdk.navigation.SectionProgress

public final class SectionProgress extends Object

Indicates a user's progress along a Section.

  • Field Details

    • remainingDistanceInMeters

      public int remainingDistanceInMeters

      The distance in meters from current location until the end of the Section. Note that the value is accumulated per section, and that the last section contains the overall distance to the destination. Defaults to 0.

    • remainingDuration

      @NonNull public Duration remainingDuration

      The estimated time in seconds from current location until the end of the Section is reached, including traffic delays if available. Note that the value is accumulated per section, and that the last section contains the overall duration until the destination is reached. Defaults to 0 seconds.

    • trafficDelay

      @NonNull public Duration trafficDelay

      The estimated traffic delay in seconds from current location until the end of the Section is reached. Note that the value is accumulated per section, and that the last section contains the overall traffic delay until the destination is reached. The delay might be a negative value: Negative values indicate that the part of this section can be traversed faster than usual. Note that this is based on a delay value received at the moment of route calculation. Defaults to 0 seconds.

  • Constructor Details

    • SectionProgress

      public SectionProgress()

      Creates a new instance.

  • Method Details