Warning

This feature is available in the Full MapKit SDK version

MMKMasstransitSectionMetadataSectionData

@interface MMKMasstransitSectionMetadataSectionData : NSObject

A choice of information specific to the section type.

Summary

Class methods

+ (nonnull MMKMasstransitSectionMetadataSectionData *)sectionDataWithWait:(nonnull MMKMasstransitWait *)wait;

+ (nonnull MMKMasstransitSectionMetadataSectionData *)sectionDataWithFitness:(nonnull MMKMasstransitFitness *)fitness;

+ (nonnull MMKMasstransitSectionMetadataSectionData *)sectionDataWithTransfer:(nonnull MMKMasstransitTransfer *)transfer;

+ (nonnull MMKMasstransitSectionMetadataSectionData *)sectionDataWithTaxi:(nonnull MMKMasstransitTaxi *)taxi;

+ (nonnull MMKMasstransitSectionMetadataSectionData *)sectionDataWithTransports:(nonnull NSArray<MMKMasstransitTransport *> *)transports;

Properties

@property (nonatomic, readonly, nullable) MMKMasstransitWait *wait

@property (nonatomic, readonly, nullable) MMKMasstransitFitness *fitness

@property (nonatomic, readonly, nullable) MMKMasstransitTransfer *transfer

@property (nonatomic, readonly, nullable) MMKMasstransitTaxi *taxi

@property (nonatomic, readonly, nullable) NSArray<MMKMasstransitTransport *> *transports

Class methods

sectionDataWithWait:

+ (nonnull MMKMasstransitSectionMetadataSectionData *)sectionDataWithWait:(nonnull MMKMasstransitWait *)wait;


sectionDataWithFitness:

+ (nonnull MMKMasstransitSectionMetadataSectionData *)sectionDataWithFitness:(nonnull MMKMasstransitFitness *)fitness;


sectionDataWithTransfer:

+ (nonnull MMKMasstransitSectionMetadataSectionData *)sectionDataWithTransfer:(nonnull MMKMasstransitTransfer *)transfer;


sectionDataWithTaxi:

+ (nonnull MMKMasstransitSectionMetadataSectionData *)sectionDataWithTaxi:(nonnull MMKMasstransitTaxi *)taxi;


sectionDataWithTransports:

+ (nonnull MMKMasstransitSectionMetadataSectionData *)sectionDataWithTransports:(nonnull NSArray<MMKMasstransitTransport *> *)transports;


Properties

wait

@property (nonatomic, readonly, nullable) MMKMasstransitWait *wait


fitness

@property (nonatomic, readonly, nullable) MMKMasstransitFitness *fitness


transfer

@property (nonatomic, readonly, nullable) MMKMasstransitTransfer *transfer


taxi

@property (nonatomic, readonly, nullable) MMKMasstransitTaxi *taxi


transports

@property (nonatomic, readonly, nullable) NSArray<MMKMasstransitTransport *> *transports