Instance Property

transportType

The type of conveyance used to determine the travel time.

Declaration

var transportType: MKDirectionsTransportType { get }

Discussion

You specify the desired transportation type in your MKDirections.Request object. If you specified any, this property contains the transportation type used to generate the estimated information.

See Also

Getting the Travel Information

var expectedTravelTime: TimeInterval

The expected travel time in seconds.

var expectedDepartureDate: Date

The expected departure time.

var expectedArrivalDate: Date

The expected arrival time.

var distance: CLLocationDistance

The expected travel distance, in meters.