Warning

This feature is available in the Full MapKit SDK version

YMKMasstransitTransport

@interface YMKMasstransitTransport : NSObject

Contains information about the mass transit ride section of a YMKMasstransitRoute for a specific mass transit YMKMasstransitLine.

Summary

Class methods

+ (nonnull YMKMasstransitTransport *)transportWithLine:(nonnull YMKMasstransitLine *)line
                                            transports:(nonnull NSArray<YMKMasstransitTransportTransportThread *> *)transports
                                     transportContours:(nonnull NSArray<YMKMasstransitTransportContour *> *)transportContours;

Properties

@property (nonatomic, readonly, nonnull) YMKMasstransitLine *line;
Mass transit line

@property (nonatomic, readonly, nonnull)
    NSArray<YMKMasstransitTransportTransportThread *> *transports;

Collection of mass transit threads of the specified line suitable for the constructed route

@property (nonatomic, readonly, nonnull)
    NSArray<YMKMasstransitTransportContour *> *transportContours;

Describes YMKMasstransitTransportContour in borders of which this block is located

Class methods

transportWithLine:transports:transportContours:

+ (nonnull YMKMasstransitTransport *)transportWithLine:(nonnull YMKMasstransitLine *)line
                                            transports:(nonnull NSArray<YMKMasstransitTransportTransportThread *> *)transports
                                     transportContours:(nonnull NSArray<YMKMasstransitTransportContour *> *)transportContours;


Properties

line

@property (nonatomic, readonly, nonnull) YMKMasstransitLine *line;

Mass transit line.


transports

@property (nonatomic, readonly, nonnull)
    NSArray<YMKMasstransitTransportTransportThread *> *transports;

Collection of mass transit threads of the specified line suitable for the constructed route.


transportContours

@property (nonatomic, readonly, nonnull)
    NSArray<YMKMasstransitTransportContour *> *transportContours;

Describes YMKMasstransitTransportContour in borders of which this block is located