Warning
This feature is available in the Full MapKit SDK version
MMKMasstransitRouteMetadata
@interface MMKMasstransitRouteMetadata : NSObject <MMKBaseMetadata> |
Contains information associated with a route constructed by the mass transit router.
Summary
Class methods
+ (nonnull MMKMasstransitRouteMetadata *)routeMetadataWithWeight:(nonnull MMKMasstransitWeight *)weight |
Properties
@property (nonatomic, readonly, nonnull) MMKMasstransitWeight *weight; |
@property (nonatomic, readonly, nullable) MMKMasstransitRouteSettings *settings; |
@property (nonatomic, readonly, nullable) |
@property (nonatomic, readonly, nonnull) |
@property (nonatomic, readonly, nullable) NSString *routeId; |
@property (nonatomic, readonly, nullable) MMKMasstransitFlags *flags; Optional field, can be nil |
@property (nonatomic, readonly, nonnull) NSArray<NSNumber *> *comfortTags; |
Class methods
routeMetadataWithWeight:settings:estimation:wayPoints:routeId:flags:comfortTags:
+ (nonnull MMKMasstransitRouteMetadata *)routeMetadataWithWeight:(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.
settings
@property (nonatomic, readonly, nullable) MMKMasstransitRouteSettings *settings; |
Route settings that were used by the mass transit router.
Optional field, can be nil.
estimation
@property (nonatomic, readonly, nullable) |
Arrival and departure time estimations for time-dependent routes.
Optional field, can be nil.
wayPoints
@property (nonatomic, readonly, nonnull) |
List of route waypoints. See MMKMasstransitWayPoint for details
routeId
@property (nonatomic, readonly, nullable) NSString *routeId; |
Unique route id.
Optional field, can be nil.
flags
@property (nonatomic, readonly, nullable) MMKMasstransitFlags *flags; |
Flags which contains route properties
Optional field, can be nil.
comfortTags
@property (nonatomic, readonly, nonnull) NSArray<NSNumber *> *comfortTags; |
Undocumented