共用方式為


CPMapTemplateDelegate.WillShowNavigationAlert 方法

定義

系統在顯示 navigationAlert 之前不久會呼叫這個方法。

[Foundation.Export("mapTemplate:willShowNavigationAlert:")]
public virtual void WillShowNavigationAlert (CarPlay.CPMapTemplate mapTemplate, CarPlay.CPNavigationAlert navigationAlert);
abstract member WillShowNavigationAlert : CarPlay.CPMapTemplate * CarPlay.CPNavigationAlert -> unit
override this.WillShowNavigationAlert : CarPlay.CPMapTemplate * CarPlay.CPNavigationAlert -> unit

參數

mapTemplate
CPMapTemplate
navigationAlert
CPNavigationAlert
屬性

適用於