YMKMasstransitRouteMetadata
Warning
This feature is available in the Full MapKit SDK version
|
@interface YMKMasstransitRouteMetadata : NSObject <YMKBaseMetadata> |
Contains information associated with a route constructed by the mass transit router.
Summary
Class methods
|
+ (nonnull YMKMasstransitRouteMetadata *)routeMetadataWithWeight:(nonnull YMKMasstransitWeight *)weight |
Properties
|
@property (nonatomic, readonly, nonnull) YMKMasstransitWeight *weight; |
|
@property (nonatomic, readonly, nullable) YMKMasstransitRouteSettings *settings; |
|
@property (nonatomic, readonly, nullable) |
|
@property (nonatomic, readonly, nonnull) |
|
@property (nonatomic, readonly, nullable) NSString *routeId; |
|
@property (nonatomic, readonly, nullable) YMKMasstransitFlags *flags; Optional field, can be nil |
|
@property (nonatomic, readonly, nonnull) NSArray<NSNumber *> *comfortTags; |
|
@property (nonatomic, readonly, nonnull) |
|
@property (nonatomic, readonly, nonnull) |
|
@property (nonatomic, readonly, nullable) NSString *routeExplanation; |
Class methods
routeMetadataWithWeight:settings:estimation:wayPoints:routeId:flags:comfortTags:stairsSummary:paymentOptions:routeExplanation:
|
+ (nonnull YMKMasstransitRouteMetadata *)routeMetadataWithWeight:(nonnull YMKMasstransitWeight *)weight |
Properties
weight
|
@property (nonatomic, readonly, nonnull) YMKMasstransitWeight *weight; |
Contains the route time, distance of the walking part, and the number of transfers.
settings
|
@property (nonatomic, readonly, nullable) YMKMasstransitRouteSettings *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 YMKMasstransitWayPoint for details
routeId
|
@property (nonatomic, readonly, nullable) NSString *routeId; |
Unique route id.
Optional field, can be nil.
flags
|
@property (nonatomic, readonly, nullable) YMKMasstransitFlags *flags; |
Flags which contains route properties
Optional field, can be nil.
comfortTags
|
@property (nonatomic, readonly, nonnull) NSArray<NSNumber *> *comfortTags; |
stairsSummary
|
@property (nonatomic, readonly, nonnull) |
paymentOptions
|
@property (nonatomic, readonly, nonnull) |
List of payment options with prices for the whole route.
routeExplanation
|
@property (nonatomic, readonly, nullable) NSString *routeExplanation; |
Optional field, can be nil.