CPMapTemplateDelegate_Extensions.ShouldUpdateNotificationForManeuver 方法

定义

调用的方法,用于确定是否应在应用在后台运行时显示指定的旅行估算更新。

public static bool ShouldUpdateNotificationForManeuver (this CarPlay.ICPMapTemplateDelegate This, CarPlay.CPMapTemplate mapTemplate, CarPlay.CPManeuver maneuver, CarPlay.CPTravelEstimates travelEstimates);
static member ShouldUpdateNotificationForManeuver : CarPlay.ICPMapTemplateDelegate * CarPlay.CPMapTemplate * CarPlay.CPManeuver * CarPlay.CPTravelEstimates -> bool

参数

This
ICPMapTemplateDelegate

此方法操作的实例。

mapTemplate
CPMapTemplate

要查询的映射的模板。

maneuver
CPManeuver
travelEstimates
CPTravelEstimates

要查询的行程估计值。

返回

true 如果应显示指定的旅行估算更新,则为 。 否则为 false

适用于