Class YMKMasstransitTransportTransportThread

YMKMasstransitThread specific properties of a mass transit ride section of a YMKMasstransitRoute.

Class Methods

Properties

alerts

Collection of important annotations for the section.

alternateDepartureStop

If alternateDepartureStop is specified, it specifies the departure location for this particular Thread instead of the first Stop of the Section.

isRecommended

Indicates that the mass transit router considers this thread the best one for the current section of the constucted route.

thread

Mass transit thread.

alerts

Collection of important annotations for the section.

alternateDepartureStop

If alternateDepartureStop is specified, it specifies the departure location for this particular Thread instead of the first Stop of the Section.

isRecommended

Indicates that the mass transit router considers this thread the best one for the current section of the constucted route.

thread

Mass transit thread.

Method Detail

+transportThreadWithThread:isRecommended:alerts:alternateDepartureStop:

+ (nonnull YMKMasstransitTransportTransportThread *)transportThreadWithThread:(nonnull YMKMasstransitThread *)thread
                                                                isRecommended:(BOOL)isRecommended
                                                                       alerts:(nonnull NSArray< YMKMasstransitAlert * > *)alerts
                                                       alternateDepartureStop:(nullable YMKMasstransitStop *)alternateDepartureStop 

Property Detail

alerts

(assign, readonly) NSArray< YMKMasstransitAlert * > * alerts

Collection of important annotations for the section.

alternateDepartureStop

(assign, readonly) YMKMasstransitStop * alternateDepartureStop

If alternateDepartureStop is specified, it specifies the departure location for this particular Thread instead of the first Stop of the Section.

Optional property, can be null.

isRecommended

(assign, readonly) BOOL isRecommended

Indicates that the mass transit router considers this thread the best one for the current section of the constucted route.

thread

(assign, readonly) YMKMasstransitThread * thread

Mass transit thread.