MKDirections.CalculateETAAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.