Важно

This feature is available in the Full MapKit SDK version

YMKMasstransitSummary

class YMKMasstransitSummary : NSObject

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

Summary

Class methods

 init(weight: YMKMasstransitWeight,
  estimation: YMKMasstransitTravelEstimation?,
       flags: YMKMasstransitFlags?)

Properties

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

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

var flagsYMKMasstransitFlags? { get }
Specific properties of the route

Class methods

init(weight:estimation:flags:)

 init(weight: YMKMasstransitWeight,
  estimation: YMKMasstransitTravelEstimation?,
       flags: YMKMasstransitFlags?)


Properties

weight

var weight: YMKMasstransitWeight { get }

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


estimation

var estimation: YMKMasstransitTravelEstimation? { get }

Arrival and departure time estimations for time-dependent routes.

Optional field, can be nil.


flags

var flags: YMKMasstransitFlags? { get }

Specific properties of the route.

Optional field, can be nil.


Предыдущая