resumeTrip(updatedRouteSegments:currentSegment:rerouteReason:)
Resume the current trip with updated route segments
Declaration
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