CPMapTemplateDelegate.ShouldUpdateNotificationForManeuver 方法

定义

即使应用在后台,如果系统应使用 更新通知travelEstimates,开发人员应重写此方法以返回 true

[Foundation.Export("mapTemplate:shouldUpdateNotificationForManeuver:withTravelEstimates:")]
public virtual bool ShouldUpdateNotificationForManeuver (CarPlay.CPMapTemplate mapTemplate, CarPlay.CPManeuver maneuver, CarPlay.CPTravelEstimates travelEstimates);
abstract member ShouldUpdateNotificationForManeuver : CarPlay.CPMapTemplate * CarPlay.CPManeuver * CarPlay.CPTravelEstimates -> bool
override this.ShouldUpdateNotificationForManeuver : CarPlay.CPMapTemplate * CarPlay.CPManeuver * CarPlay.CPTravelEstimates -> bool

参数

mapTemplate
CPMapTemplate
maneuver
CPManeuver
travelEstimates
CPTravelEstimates

返回

属性

适用于