Condividi tramite


CPMapTemplateDelegate.ShouldShowNotificationForNavigationAlert Metodo

Definizione

Gli sviluppatori devono eseguire l'override di questo metodo per restituire true se il sistema deve essere visualizzato navigationAlert anche quando l'app è in 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

Parametri

mapTemplate
CPMapTemplate
navigationAlert
CPNavigationAlert

Restituisce

Attributi

Si applica a