Warning

This feature is available in the Full MapKit SDK version

MMKMasstransitSummary

@interface MMKMasstransitSummary : NSObject

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

Summary

Class methods

+ (nonnull MMKMasstransitSummary *)summaryWithWeight:(nonnull MMKMasstransitWeight *)weight
                                          estimation:(nullable MMKMasstransitTravelEstimation *)estimation
                                               flags:(nullable MMKMasstransitFlags *)flags;

Properties

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

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

Arrival and departure time estimations for time-dependent routes

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

Class methods

summaryWithWeight:estimation:flags:

+ (nonnull MMKMasstransitSummary *)summaryWithWeight:(nonnull MMKMasstransitWeight *)weight
                                          estimation:(nullable MMKMasstransitTravelEstimation *)estimation
                                               flags:(nullable MMKMasstransitFlags *)flags;


Properties

weight

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

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


estimation

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

Arrival and departure time estimations for time-dependent routes.

Optional field, can be nil.


flags

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

Specific properties of the route.

Optional field, can be nil.