編輯

共用方式為


MKDirectionsHandler Delegate

Definition

The completion handler for calls to CalculateDirections(MKDirectionsHandler).

public delegate void MKDirectionsHandler(MKDirectionsResponse response, NSError error);
type MKDirectionsHandler = delegate of MKDirectionsResponse * NSError -> unit

Parameters

response
MKDirectionsResponse

Returned if the routing request was successful

error
NSError

If not null, an error occurred with the request.

Applies to

See also