resumeNavigation(updatedTrip:routeSegments:currentSegment:rerouteReason:)
Resume navigation with an updated trip and route segments for cases such as the trip destination changing.
Declaration
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