CPMapTemplateDelegate_Extensions.WillShowNavigationAlert 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
在显示导航警报之前调用的方法。
public static void WillShowNavigationAlert(this CarPlay.ICPMapTemplateDelegate This, CarPlay.CPMapTemplate mapTemplate, CarPlay.CPNavigationAlert navigationAlert);
static member WillShowNavigationAlert : CarPlay.ICPMapTemplateDelegate * CarPlay.CPMapTemplate * CarPlay.CPNavigationAlert -> unit
参数
此方法在其上运行的实例。
- mapTemplate
- CPMapTemplate
将显示导航警报的地图模板。
- navigationAlert
- CPNavigationAlert
将显示的导航警报。