Platforms to show: All Mac Windows Linux Cross-Platform
Back to MKDirectionsMBS class.
MKDirectionsMBS.calculateDirectionsCompleted(response as MKDirectionsResponseMBS, error as NSErrorMBS, tag as Variant)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | MapKit | MBS MacFrameworks Plugin | 19.0 | ✅ Yes | ❌ No | ❌ No | ❌ No |
This event takes three parameters:
- The response parameter contains the route information for the request. If an error occurred or no route could be determined, this parameter is nil.
- The error parameter contains information about any errors that occurred. If no errors occurred, this parameter is nil.
- The tag passed to the method.
The implementation of your block should check for a value in the error parameter and, if that parameter is nil, incorporate the route information provided in the response parameter.
Some examples using this event:
MKDirectionsMBS.calculateETAWithCompleted(response as MKETAResponseMBS, error as NSErrorMBS, tag as Variant)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | MapKit | MBS MacFrameworks Plugin | 19.0 | ✅ Yes | ❌ No | ❌ No | ❌ No |
The items on this page are in the following plugins: MBS MacFrameworks Plugin.