CPMapTemplateDelegate.ShouldShowNotificationForNavigationAlert Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
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