---
title: "resumeNavigation(updatedTrip:routeSegments:currentSegment:rerouteReason:)"
framework: carplay
role: symbol
role_heading: Instance Method
path: "carplay/cpnavigationsession/resumenavigation(updatedtrip:routesegments:currentsegment:reroutereason:)"
---

# resumeNavigation(updatedTrip:routeSegments:currentSegment:rerouteReason:)

Resume navigation with an updated trip and route segments for cases such as the trip destination changing.

## Declaration

```swift
func resumeNavigation(updatedTrip trip: CPTrip, routeSegments: [CPRouteSegment], currentSegment: CPRouteSegment, rerouteReason: CPRerouteReason)
```

## Parameters

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