Instance Method

mapTemplate:shouldUpdateNotificationForManeuver:withTravelEstimates:

Asks the delegate whether the system should display the maneuver with updated travel estimates as a notification when the app is in the background.

Declaration

- (BOOL)mapTemplate:(CPMapTemplate *)mapTemplate shouldUpdateNotificationForManeuver:(CPManeuver *)maneuver withTravelEstimates:(CPTravelEstimates *)travelEstimates;

Parameters

mapTemplate

The current map template.

maneuver

The current maneuver.

travelEstimates

The updated travel estimates.

Return Value

YES if the system should display the maneuver as a notification; otherwise, NO.

See Also

Displaying Notifications

- mapTemplate:shouldShowNotificationForManeuver:

Asks the delegate whether the system should display the maneuver as a notification when the app is in the background.

- mapTemplate:shouldShowNotificationForNavigationAlert:

Asks the delegate whether the system should display the navigation alert as a notification when the app is in the background.