Share via


CPMapTemplateDelegate.ShouldUpdateNotificationForManeuver Method

Definition

Method that is called to determine whether the specified travel estimate updates should be shown when the app is running in the background.

[Foundation.Export("mapTemplate:shouldUpdateNotificationForManeuver:withTravelEstimates:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual bool ShouldUpdateNotificationForManeuver(CarPlay.CPMapTemplate mapTemplate, CarPlay.CPManeuver maneuver, CarPlay.CPTravelEstimates travelEstimates);
[<Foundation.Export("mapTemplate:shouldUpdateNotificationForManeuver:withTravelEstimates:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member ShouldUpdateNotificationForManeuver : CarPlay.CPMapTemplate * CarPlay.CPManeuver * CarPlay.CPTravelEstimates -> bool
override this.ShouldUpdateNotificationForManeuver : CarPlay.CPMapTemplate * CarPlay.CPManeuver * CarPlay.CPTravelEstimates -> bool

Parameters

mapTemplate
CPMapTemplate

The template for the map to query.

maneuver
CPManeuver
travelEstimates
CPTravelEstimates

The travel estimates about which to query.

Returns

true if the specified travel estimate updates should be shown. Otherwise, false.

Implements

Attributes

Applies to