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 |
Properties
@property (nonatomic, readonly, nonnull) MMKMasstransitWeight *weight; |
@property (nonatomic, readonly, nullable) |
@property (nonatomic, readonly, nullable) MMKMasstransitFlags *flags; |
Class methods
summaryWithWeight:estimation:flags:
+ (nonnull MMKMasstransitSummary *)summaryWithWeight:(nonnull MMKMasstransitWeight *)weight |
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) |
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.