Class YMKMasstransitJams

Instance Methods

- addListenerWithJamsListener:

Adds a listener for changes to traffic on the route.

- removeListenerWithJamsListener:

Removes the listener for changes to traffic on the route.

Properties

outdated

Indicates whether traffic levels have become outdated when we are not able to fetch updates for some predefined time.

segments

Traffic intensity on a route.

Method Detail

-addListenerWithJamsListener:

- (void)addListenerWithJamsListener:(nonnull id< YMKMasstransitJamsListener >)jamsListener 

Adds a listener for changes to traffic on the route.

-removeListenerWithJamsListener:

- (void)removeListenerWithJamsListener:(nonnull id< YMKMasstransitJamsListener >)jamsListener 

Removes the listener for changes to traffic on the route.

Property Detail

outdated

(assign, readonly, getter=isOutdated) BOOL outdated

Indicates whether traffic levels have become outdated when we are not able to fetch updates for some predefined time.

segments

(assign, readonly) NSArray< NSNumber * > * segments

Traffic intensity on a route.