YMKMasstransitSummary

Важно

This feature is available in the Full MapKit SDK version

@interface YMKMasstransitSummary : NSObject

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

Summary

Class methods

+ (nonnull YMKMasstransitSummary *)summaryWithWeight:(nonnull YMKMasstransitWeight *)weight
                                          estimation:(nullable YMKMasstransitTravelEstimation *)estimation
                                               flags:(nullable YMKMasstransitFlags *)flags;

Properties

@property (nonatomic, readonly, nonnull) YMKMasstransitWeight *weight;
Contains the route time, distance of the walking part, and the number of transfers

@property (nonatomic, readonly, nullable)
    YMKMasstransitTravelEstimation *estimation;

Arrival and departure time estimations for time-dependent routes

@property (nonatomic, readonly, nullable) YMKMasstransitFlags *flags;
Specific properties of the route

Class methods

summaryWithWeight:estimation:flags:

+ (nonnull YMKMasstransitSummary *)summaryWithWeight:(nonnull YMKMasstransitWeight *)weight
                                          estimation:(nullable YMKMasstransitTravelEstimation *)estimation
                                               flags:(nullable YMKMasstransitFlags *)flags;


Properties

weight

@property (nonatomic, readonly, nonnull) YMKMasstransitWeight *weight;

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


estimation

@property (nonatomic, readonly, nullable)
    YMKMasstransitTravelEstimation *estimation;

Arrival and departure time estimations for time-dependent routes.

Optional field, can be nil.


flags

@property (nonatomic, readonly, nullable) YMKMasstransitFlags *flags;

Specific properties of the route.

Optional field, can be nil.


Предыдущая