Condividi tramite


CPMapTemplateDelegate_Extensions.ShouldShowNotificationForNavigationAlert Metodo

Definizione

Metodo chiamato per determinare se deve essere visualizzato un avviso di navigazione quando l'app è in esecuzione in 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

Parametri

This
ICPMapTemplateDelegate

Istanza in cui opera questo metodo.

mapTemplate
CPMapTemplate

Modello per la mappa alla query.

navigationAlert
CPNavigationAlert

Avviso di navigazione su cui eseguire una query.

Restituisce

true se deve essere visualizzato l'avviso di spostamento. In caso contrario, false.

Si applica a