CPMapTemplateDelegate.ShouldShowNotificationForManeuver Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Method that is called to determine whether a navigation maneuver notification should be shown when the app is running in the background.
[Foundation.Export("mapTemplate:shouldShowNotificationForManeuver:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual bool ShouldShowNotificationForManeuver(CarPlay.CPMapTemplate mapTemplate, CarPlay.CPManeuver maneuver);
[<Foundation.Export("mapTemplate:shouldShowNotificationForManeuver:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member ShouldShowNotificationForManeuver : CarPlay.CPMapTemplate * CarPlay.CPManeuver -> bool
override this.ShouldShowNotificationForManeuver : CarPlay.CPMapTemplate * CarPlay.CPManeuver -> bool
Parameters
- mapTemplate
- CPMapTemplate
The template for the map to query.
- maneuver
- CPManeuver
The maneuver about which to query.
Returns
true if the notification should be shown. Otherwise, false.
Implements
- Attributes