Class RouteStepProgress
-
- All Implemented Interfaces:
public final class RouteStepProgressThis is a progress object specific to the current step the user is on.
The latest route step progress object can be obtained through the com.trimblemaps.navigation.core.trip.session.RouteProgressObserver. Note that the route step progress object's immutable.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classRouteStepProgress.BuilderBuilder of RouteStepProgress
-
Field Summary
Fields Modifier and Type Field Description private final IntegerstepIndexprivate final IntegerintersectionIndexprivate final LegStepstepprivate final List<Point>stepPointsprivate final FloatdistanceRemainingprivate final FloatdistanceTraveledprivate final FloatfractionTraveledprivate final DoubledurationRemaining
-
Method Summary
Modifier and Type Method Description final IntegergetStepIndex()final IntegergetIntersectionIndex()final LegStepgetStep()final List<Point>getStepPoints()final FloatgetDistanceRemaining()final FloatgetDistanceTraveled()final FloatgetFractionTraveled()final DoublegetDurationRemaining()final RouteStepProgress.BuildertoBuilder()Booleanequals(Object other)Regenerate whenever a change is made IntegerhashCode()Regenerate whenever a change is made StringtoString()Returns a string representation of the object.
-
-
-
Method Detail
-
getStepIndex
final Integer getStepIndex()
-
getIntersectionIndex
final Integer getIntersectionIndex()
-
getStep
final LegStep getStep()
-
getStepPoints
final List<Point> getStepPoints()
-
getDistanceRemaining
final Float getDistanceRemaining()
-
getDistanceTraveled
final Float getDistanceTraveled()
-
getFractionTraveled
final Float getFractionTraveled()
-
getDurationRemaining
final Double getDurationRemaining()
-
toBuilder
final RouteStepProgress.Builder toBuilder()
-
-