YMKDrivingWeight

Важно

This feature is available in the Full MapKit SDK version

@interface YMKDrivingWeight : NSObject

Quantitative characteristics of any segment of the route.

Summary

Class methods

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

Properties

@property (nonatomic, readonly, nonnull) YMKLocalizedValue *time;
Time to travel, not considering traffic

@property (nonatomic, readonly, nonnull) YMKLocalizedValue *timeWithTraffic;
Time to travel, considering traffic

@property (nonatomic, readonly, nonnull) YMKLocalizedValue *distance;
Distance to travel

Class methods

weightWithTime:timeWithTraffic:distance:

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


Properties

time

@property (nonatomic, readonly, nonnull) YMKLocalizedValue *time;

Time to travel, not considering traffic.


timeWithTraffic

@property (nonatomic, readonly, nonnull) YMKLocalizedValue *timeWithTraffic;

Time to travel, considering traffic.


distance

@property (nonatomic, readonly, nonnull) YMKLocalizedValue *distance;

Distance to travel.


Предыдущая
Следующая