MapKit Mobile SDK

Warning

This feature is available in the Full MapKit SDK version

MMKMasstransitRouteMetadata

class MMKMasstransitRouteMetadata : NSObject, MMKBaseMetadata

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

Summary

Class methods

 init(weight: MMKMasstransitWeight,
    settings: MMKMasstransitRouteSettings?,
  estimation: MMKMasstransitTravelEstimation?,
   wayPoints: [MMKMasstransitWayPoint],
     routeId: String?,
       flags: MMKMasstransitFlags?,
 comfortTags: [NSNumber])

Properties

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

var settingsMMKMasstransitRouteSettings? { get }
Route settings that were used by the mass transit router

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

var wayPoints: [MMKMasstransitWayPoint] { get }
List of route waypoints

var routeId: String? { get }
Unique route id

var flagsMMKMasstransitFlags? { get }
Flags which contains route properties

Optional field, can be nil

var comfortTags: [NSNumber] { get }
Undocumented

Class methods

init(weight:settings:estimation:wayPoints:routeId:flags:comfortTags:)

 init(weight: MMKMasstransitWeight,
    settings: MMKMasstransitRouteSettings?,
  estimation: MMKMasstransitTravelEstimation?,
   wayPoints: [MMKMasstransitWayPoint],
     routeId: String?,
       flags: MMKMasstransitFlags?,
 comfortTags: [NSNumber])


Properties

weight

var weight: MMKMasstransitWeight { get }

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


settings

var settings: MMKMasstransitRouteSettings? { get }

Route settings that were used by the mass transit router.

Optional field, can be nil.


estimation

var estimation: MMKMasstransitTravelEstimation? { get }

Arrival and departure time estimations for time-dependent routes.

Optional field, can be nil.


wayPoints

var wayPoints: [MMKMasstransitWayPoint] { get }

List of route waypoints. See MMKMasstransitWayPoint for details


routeId

var routeId: String? { get }

Unique route id.

Optional field, can be nil.


flags

var flags: MMKMasstransitFlags? { get }

Flags which contains route properties

Optional field, can be nil.


comfortTags

var comfortTags: [NSNumber] { get }

Undocumented