Class YMKMasstransitRouteMetadata

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

Class Methods

Properties

estimation

Arrival and departure time estimations for time-dependent routes.

settings

Route settings that were used by the mass transit router.

weight

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

estimation

Arrival and departure time estimations for time-dependent routes.

settings

Route settings that were used by the mass transit router.

weight

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

Method Detail

+routeMetadataWithWeight:settings:estimation:

+ (nonnull YMKMasstransitRouteMetadata *)routeMetadataWithWeight:(nonnull YMKMasstransitWeight *)weight
                                                        settings:(nullable YMKMasstransitRouteSettings *)settings
                                                      estimation:(nullable YMKMasstransitTravelEstimation *)estimation 

Property Detail

estimation

(assign, readonly) YMKMasstransitTravelEstimation * estimation

Arrival and departure time estimations for time-dependent routes.

Optional property, can be null.

settings

(assign, readonly) YMKMasstransitRouteSettings * settings

Route settings that were used by the mass transit router.

Optional property, can be null.

weight

(assign, readonly) YMKMasstransitWeight * weight

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