MKDirections.CalculateDirectionsAsync Method

Definition

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

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

Returns

A task that represents the asynchronous CalculateDirections operation. The value of the TResult parameter is a MKDirectionsHandler.

Applies to