Class YMKSearchTransitInfo

Describes information about route via masstransit.

Class Methods

Properties

duration

Route duration.

transferCount

Number of transfers for the route.

Method Detail

+transitInfoWithDuration:transferCount:

+ (nonnull YMKSearchTransitInfo *)transitInfoWithDuration:(nonnull YMKLocalizedValue *)duration
                                            transferCount:(NSInteger)transferCount 

Property Detail

duration

(assign, readonly) YMKLocalizedValue * duration

Route duration.

transferCount

(assign, readonly) NSInteger transferCount

Number of transfers for the route.

This includes both transfers inside single type of transit (i.e. change from one underground line to another) and transfers between different transit types (i.e. transfer from bus to underground).