Platforms to show: All Mac Windows Linux Cross-Platform
MKETAResponseMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | MapKit | MBS MacFrameworks Plugin | 19.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
You do not create instances of this class directly. Instead, you initiate a request for the travel time by calling the calculateETA method of an MKDirectionsMBS object. The completion event handler receives an MKETAResponseMBS object with the results.
- 10 properties
- property destination as MKMapItemMBS
- property distance as Double
- property expectedArrivalDate as Date
- property expectedArrivalDateTime as DateTime
- property expectedDepartureDate as Date
- property expectedDepartureDateTime as DateTime
- property expectedTravelTime as Double
- property Handle as Integer
- property source as MKMapItemMBS
- property transportType as Integer
- 2 methods
- method Constructor Private
- method Constructor(Handle as Integer)
- 4 constants
Transport Types
Constant | Value | Description |
---|---|---|
TransportTypeAny | &h0FFFFFFF |
Directions suitable for any transportation option. |
TransportTypeAutomobile | 1 |
Directions suitable for use while driving. |
TransportTypeTransit | 3 |
Directions suitable for public transportation. |
TransportTypeWalking | 2 |
Directions suitable for a pedestrian. |
This class has no sub classes.
Some events using this class:
- MKDirectionsMBS.calculateETAWithCompleted(response as MKETAResponseMBS, error as NSErrorMBS, tag as Variant)
Blog Entries
The items on this page are in the following plugins: MBS MacFrameworks Plugin.
MKDistanceFormatterMBS - MKGeodesicPolylineMBS