Edit

Share via


CPMapTemplate.UpdateTravelEstimates Method

Definition

Overloads

UpdateTravelEstimates(CPTravelEstimates, CPTrip)

Modifies the time and distance estimate for trip.

UpdateTravelEstimates(CPTravelEstimates, CPTrip, CPTimeRemainingColor)

UpdateTravelEstimates(CPTravelEstimates, CPTrip)

Modifies the time and distance estimate for trip.

[Foundation.Export("updateTravelEstimates:forTrip:")]
public virtual void UpdateTravelEstimates (CarPlay.CPTravelEstimates estimates, CarPlay.CPTrip trip);
abstract member UpdateTravelEstimates : CarPlay.CPTravelEstimates * CarPlay.CPTrip -> unit
override this.UpdateTravelEstimates : CarPlay.CPTravelEstimates * CarPlay.CPTrip -> unit

Parameters

estimates
CPTravelEstimates

The improved time and distance estimates.

trip
CPTrip

The trip to which the estimates should be applied.

Attributes

Applies to

UpdateTravelEstimates(CPTravelEstimates, CPTrip, CPTimeRemainingColor)

[Foundation.Export("updateTravelEstimates:forTrip:withTimeRemainingColor:")]
public virtual void UpdateTravelEstimates (CarPlay.CPTravelEstimates estimates, CarPlay.CPTrip trip, CarPlay.CPTimeRemainingColor timeRemainingColor);
abstract member UpdateTravelEstimates : CarPlay.CPTravelEstimates * CarPlay.CPTrip * CarPlay.CPTimeRemainingColor -> unit
override this.UpdateTravelEstimates : CarPlay.CPTravelEstimates * CarPlay.CPTrip * CarPlay.CPTimeRemainingColor -> unit

Parameters

estimates
CPTravelEstimates
trip
CPTrip
timeRemainingColor
CPTimeRemainingColor
Attributes

Applies to