Warning

This feature is available in the Full MapKit SDK version

MMKMasstransitTransport

@interface MMKMasstransitTransport : NSObject

Contains information about the mass transit ride section of a MMKMasstransitRoute for a specific mass transit MMKMasstransitLine.

Summary

Class methods

+ (nonnull MMKMasstransitTransport *)transportWithLine:(nonnull MMKMasstransitLine *)line
                                            transports:(nonnull NSArray<MMKMasstransitTransportTransportThread *> *)transports
                                     transportContours:(nonnull NSArray<MMKMasstransitTransportContour *> *)transportContours;

Properties

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

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

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

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

Describes MMKMasstransitTransportContour in borders of which this block is located

Class methods

transportWithLine:transports:transportContours:

+ (nonnull MMKMasstransitTransport *)transportWithLine:(nonnull MMKMasstransitLine *)line
                                            transports:(nonnull NSArray<MMKMasstransitTransportTransportThread *> *)transports
                                     transportContours:(nonnull NSArray<MMKMasstransitTransportContour *> *)transportContours;


Properties

line

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

Mass transit line.


transports

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

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


transportContours

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

Describes MMKMasstransitTransportContour in borders of which this block is located