Class YMKMasstransitWeight

Numeric characteristics of a route or a route section.

Class Methods

Properties

time

Travel time for a route or a route section.

transfersCount

The number of transfers for a route or a route section.

walkingDistance

Distance of the pedestrian part of the route or a route section.

Method Detail

+weightWithTime:walkingDistance:transfersCount:

+ (nonnull YMKMasstransitWeight *)weightWithTime:(nonnull YMKLocalizedValue *)time
                                 walkingDistance:(nonnull YMKLocalizedValue *)walkingDistance
                                  transfersCount:(NSUInteger)transfersCount 

Property Detail

time

(assign, readonly) YMKLocalizedValue * time

Travel time for a route or a route section.

transfersCount

(assign, readonly) NSUInteger transfersCount

The number of transfers for a route or a route section.

walkingDistance

(assign, readonly) YMKLocalizedValue * walkingDistance

Distance of the pedestrian part of the route or a route section.