RefreshRouteParameters.withRouteHandleAndWaypointAndSectionPosition constructor

RefreshRouteParameters.withRouteHandleAndWaypointAndSectionPosition(
  1. RouteHandle routeHandle,
  2. Waypoint startingPoint,
  3. int startingSectionIndex,
  4. int traveledDistanceOnStartingSectionInMeters,
)

Create a new instance of RefreshRouteParameters with the new starting point and the section position on the route.

  • routeHandle The route handle holding the route to be refreshed.

  • startingPoint Identify the new starting point of the route.

  • startingSectionIndex Indicates the index of the last traveled route section.

  • traveledDistanceOnStartingSectionInMeters Provides an indication on how much of the starting section is already traveled.

Implementation

factory RefreshRouteParameters.withRouteHandleAndWaypointAndSectionPosition(RouteHandle routeHandle, Waypoint startingPoint, int startingSectionIndex, int traveledDistanceOnStartingSectionInMeters) => $prototype.withRouteHandleAndWaypointAndSectionPosition(routeHandle, startingPoint, startingSectionIndex, traveledDistanceOnStartingSectionInMeters);