MMKTrafficLevel

@interface MMKTrafficLevel : NSObject

The level of traffic.

Summary

Class methods

+ (nonnull MMKTrafficLevel *)trafficLevelWithColor:( MMKTrafficColor)color
                                             level:( NSInteger)level;

Properties

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

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

Class methods

trafficLevelWithColor:level:

+ (nonnull MMKTrafficLevel *)trafficLevelWithColor:( MMKTrafficColor)color
                                             level:( NSInteger)level;


Properties

color

@property (nonatomic, readonly) MMKTrafficColor color;

The color that represents traffic.


level

@property (nonatomic, readonly) NSInteger level;

Traffic level.