Warning

This feature is available in the Full MapKit SDK version

MMKMasstransitSummary

class MMKMasstransitSummary : NSObject

Contains brief information associated with a route constructed by the mass transit router.

Summary

Class methods

 init(weight: MMKMasstransitWeight,
  estimation: MMKMasstransitTravelEstimation?,
       flags: MMKMasstransitFlags?)

Properties

var weightMMKMasstransitWeight { get }
Contains the route time, distance of the walking part, and the number of transfers

var estimationMMKMasstransitTravelEstimation? { get }
Arrival and departure time estimations for time-dependent routes

var flagsMMKMasstransitFlags? { get }
Specific properties of the route

Class methods

init(weight:estimation:flags:)

 init(weight: MMKMasstransitWeight,
  estimation: MMKMasstransitTravelEstimation?,
       flags: MMKMasstransitFlags?)


Properties

weight

var weight: MMKMasstransitWeight { get }

Contains the route time, distance of the walking part, and the number of transfers.


estimation

var estimation: MMKMasstransitTravelEstimation? { get }

Arrival and departure time estimations for time-dependent routes.

Optional field, can be nil.


flags

var flags: MMKMasstransitFlags? { get }

Specific properties of the route.

Optional field, can be nil.