MKDirections.CalculateDirectionsAsync 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 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.