Warning
This feature is available in the Full MapKit SDK version
Contains information associated with a route constructed by the mass transit router.
|
+ (nonnull MMKMasstransitRouteMetadata *)routeMetadataWithWeight:(nonnull MMKMasstransitWeight *)weight
                                                        settings:(nullable MMKMasstransitRouteSettings *)settings
                                                      estimation:(nullable MMKMasstransitTravelEstimation *)estimation
                                                       wayPoints:(nonnull NSArray<MMKMasstransitWayPoint *> *)wayPoints
                                                         routeId:(nullable NSString *)routeId
                                                           flags:(nullable MMKMasstransitFlags *)flags
                                                     comfortTags:(nonnull NSArray<NSNumber *> *)comfortTags
                                                   stairsSummary:(nonnull MMKMasstransitStairsSummary *)stairsSummary
                                                  paymentOptions:(nonnull NSArray<MMKMasstransitRoutePaymentOption *> *)paymentOptions
                                                routeExplanation:(nullable NSString *)routeExplanation;
|
|
@property (nonatomic, readonly, nonnull) MMKMasstransitWeight *weight;
Contains the route time, distance of the walking part, and the number of transfers
|
|
@property (nonatomic, readonly, nullable) MMKMasstransitRouteSettings *settings;
Route settings that were used by the mass transit router
|
|
@property (nonatomic, readonly, nullable)
    MMKMasstransitTravelEstimation *estimation;
Arrival and departure time estimations for time-dependent routes
|
|
@property (nonatomic, readonly, nonnull)
    NSArray<MMKMasstransitWayPoint *> *wayPoints;
List of route waypoints
|
|
@property (nonatomic, readonly, nullable) NSString *routeId;
Unique route id
|
|
@property (nonatomic, readonly, nullable) MMKMasstransitFlags *flags;
Flags which contains route properties
Optional field, can be nil
|
|
@property (nonatomic, readonly, nonnull) NSArray<NSNumber *> *comfortTags;
|
|
@property (nonatomic, readonly, nonnull)
    MMKMasstransitStairsSummary *stairsSummary;
|
|
@property (nonatomic, readonly, nonnull)
    NSArray<MMKMasstransitRoutePaymentOption *> *paymentOptions;
List of payment options with prices for the whole route
|
|
@property (nonatomic, readonly, nullable) NSString *routeExplanation;
Optional field, can be nil
|
|
+ (nonnull MMKMasstransitRouteMetadata *)routeMetadataWithWeight:(nonnull MMKMasstransitWeight *)weight
                                                        settings:(nullable MMKMasstransitRouteSettings *)settings
                                                      estimation:(nullable MMKMasstransitTravelEstimation *)estimation
                                                       wayPoints:(nonnull NSArray<MMKMasstransitWayPoint *> *)wayPoints
                                                         routeId:(nullable NSString *)routeId
                                                           flags:(nullable MMKMasstransitFlags *)flags
                                                     comfortTags:(nonnull NSArray<NSNumber *> *)comfortTags
                                                   stairsSummary:(nonnull MMKMasstransitStairsSummary *)stairsSummary
                                                  paymentOptions:(nonnull NSArray<MMKMasstransitRoutePaymentOption *> *)paymentOptions
                                                routeExplanation:(nullable NSString *)routeExplanation;
|
Contains the route time, distance of the walking part, and the number of transfers.
Route settings that were used by the mass transit router.
Optional field, can be nil.
Arrival and departure time estimations for time-dependent routes.
Optional field, can be nil.
List of route waypoints. See MMKMasstransitWayPoint for details
|
@property (nonatomic, readonly, nullable) NSString *routeId;
|
Unique route id.
Optional field, can be nil.
Flags which contains route properties
Optional field, can be nil.
|
@property (nonatomic, readonly, nonnull) NSArray<NSNumber *> *comfortTags;
|
List of payment options with prices for the whole route.
|
@property (nonatomic, readonly, nullable) NSString *routeExplanation;
|
Optional field, can be nil.