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.

wayPoints

List of route waypoints.

weight

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

Method Detail

+routeMetadataWithWeight:settings:estimation:wayPoints:

+ (nonnull YMKMasstransitRouteMetadata *)routeMetadataWithWeight:(nonnull YMKMasstransitWeight *)weight
                                                        settings:(nullable YMKMasstransitRouteSettings *)settings
                                                      estimation:(nullable YMKMasstransitTravelEstimation *)estimation
                                                       wayPoints:(nonnull NSArray< YMKMasstransitWayPoint * > *)wayPoints 

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.

wayPoints

(assign, readonly) NSArray< YMKMasstransitWayPoint * > * wayPoints

List of route waypoints.

See YMKMasstransitWayPoint for details

weight

(assign, readonly) YMKMasstransitWeight * weight

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