MMKJamSegment

@interface MMKJamSegment : NSObject

A segment of a traffic jam that has specific traffic conditions.

Summary

Class methods

+ (nonnull MMKJamSegment *)jamSegmentWithJamType:( MMKJamType)jamType
                                           speed:( double)speed;

Properties

@property (nonatomic, readonly) MMKJamType jamType;
The type of the traffic jam

@property (nonatomic, readonly) double speed;
The speed at which traffic is moving

Class methods

jamSegmentWithJamType:speed:

+ (nonnull MMKJamSegment *)jamSegmentWithJamType:( MMKJamType)jamType
                                           speed:( double)speed;


Properties

jamType

@property (nonatomic, readonly) MMKJamType jamType;

The type of the traffic jam.


speed

@property (nonatomic, readonly) double speed;

The speed at which traffic is moving.