Bearbeiten

Freigeben über


MKDirections.CalculateETAAsync Method

Definition

Requests an ETA calculation from Apple's servers and runs a completion handler when the request is complete.

public virtual System.Threading.Tasks.Task<MapKit.MKETAResponse> CalculateETAAsync ();
abstract member CalculateETAAsync : unit -> System.Threading.Tasks.Task<MapKit.MKETAResponse>
override this.CalculateETAAsync : unit -> System.Threading.Tasks.Task<MapKit.MKETAResponse>

Returns

A task that represents the asynchronous CalculateETA operation. The value of the TResult parameter is a MKETAHandler.

Remarks

The CalculateETAAsync method is suitable to be used with C# async by returning control to the caller with a Task representing the operation.

To be added.

Applies to