YMKTrafficLevel

@interface YMKTrafficLevel : NSObject

The level of traffic.

Summary

Class methods

+ (nonnull YMKTrafficLevel *)trafficLevelWithColor:( YMKTrafficColor)color
                                             level:( NSInteger)level;

Properties

@property (nonatomic, readonly) YMKTrafficColor color;
The color that represents traffic

@property (nonatomic, readonly) NSInteger level;
Traffic level

Class methods

trafficLevelWithColor:level:

+ (nonnull YMKTrafficLevel *)trafficLevelWithColor:( YMKTrafficColor)color
                                             level:( NSInteger)level;


Properties

color

@property (nonatomic, readonly) YMKTrafficColor color;

The color that represents traffic.


level

@property (nonatomic, readonly) NSInteger level;

Traffic level.


Предыдущая