---
title: "resumeTrip(updatedRouteSegments:currentSegment:rerouteReason:)"
framework: carplay
role: symbol
role_heading: Instance Method
path: "carplay/cpnavigationsession/resumetrip(updatedroutesegments:currentsegment:reroutereason:)"
---

# resumeTrip(updatedRouteSegments:currentSegment:rerouteReason:)

Resume the current trip with updated route segments

## Declaration

```swift
func resumeTrip(updatedRouteSegments routeSegments: [CPRouteSegment], currentSegment: CPRouteSegment, rerouteReason: CPRerouteReason)
```

## Parameters

- `routeSegments`: The updated route segments for the current trip
- `currentSegment`: The current route segment
- `rerouteReason`: The reason for the reroute
