Szerkesztés

Megosztás a következőn keresztül:


CPMapTemplateDelegate_Extensions.ShouldShowNotificationForNavigationAlert Method

Definition

Method that is called to determine whether a navigation alert should be shown when the app is running in the background.

public static bool ShouldShowNotificationForNavigationAlert (this CarPlay.ICPMapTemplateDelegate This, CarPlay.CPMapTemplate mapTemplate, CarPlay.CPNavigationAlert navigationAlert);
static member ShouldShowNotificationForNavigationAlert : CarPlay.ICPMapTemplateDelegate * CarPlay.CPMapTemplate * CarPlay.CPNavigationAlert -> bool

Parameters

This
ICPMapTemplateDelegate

The instance on which this method operates.

mapTemplate
CPMapTemplate

The template for the map to query.

navigationAlert
CPNavigationAlert

The navigation alert about which to query.

Returns

true if the navigation alert should be shown. Otherwise, false.

Applies to