A set of reasons for pausing a trip.


enum PauseReason : UInt



case arrived

The user arrived at the destination.

case loading

The system is loading the route.

case locating

The system is locating the destination.

case proceedToRoute

The system is waiting for the user to proceed to the route.

case rerouting

The system is rerouting the trip.

See Also

Managing Trip Navigation

func cancelTrip()

Tells the navigation session to cancel the trip.

func finishTrip()

Tells the navigation session to finish the trip.

func pauseTrip(for: CPNavigationSession.PauseReason, description: String?)

Tells the navigation session to pause the trip for the specified reason.