CPMapTemplateDelegate.ShouldShowNotificationForNavigationAlert Method

Definition

Developers should override this method to return true if the system should show navigationAlert even when the app is in the background.

[Foundation.Export("mapTemplate:shouldShowNotificationForNavigationAlert:")]
public virtual bool ShouldShowNotificationForNavigationAlert (CarPlay.CPMapTemplate mapTemplate, CarPlay.CPNavigationAlert navigationAlert);
abstract member ShouldShowNotificationForNavigationAlert : CarPlay.CPMapTemplate * CarPlay.CPNavigationAlert -> bool
override this.ShouldShowNotificationForNavigationAlert : CarPlay.CPMapTemplate * CarPlay.CPNavigationAlert -> bool

Parameters

mapTemplate
CPMapTemplate
navigationAlert
CPNavigationAlert

Returns

Attributes

Applies to