Class YMKDrivingWeight

Quantitative characteristics of any segment of the route.

Class Methods

Properties

distance

Distance to travel.

time

Time to travel, not considering traffic.

timeWithTraffic

Time to travel, considering traffic.

Method Detail

+weightWithTime:timeWithTraffic:distance:

+ (nonnull YMKDrivingWeight *)weightWithTime:(nonnull YMKLocalizedValue *)time
                             timeWithTraffic:(nonnull YMKLocalizedValue *)timeWithTraffic
                                    distance:(nonnull YMKLocalizedValue *)distance 

Property Detail

distance

(assign, readonly) YMKLocalizedValue * distance

Distance to travel.

time

(assign, readonly) YMKLocalizedValue * time

Time to travel, not considering traffic.

timeWithTraffic

(assign, readonly) YMKLocalizedValue * timeWithTraffic

Time to travel, considering traffic.