CPMapTemplateDelegate.ShouldShowNotificationForNavigationAlert 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
即使应用在后台,开发人员也应重写此方法以返回 true
系统是否应显示 navigationAlert
。
[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
参数
- mapTemplate
- CPMapTemplate
- navigationAlert
- CPNavigationAlert
返回
- 属性