Protocol YMKTrafficDelegate

Listener to handle traffic information.

Instance Methods

- onTrafficChangedWithTrafficLevel:

Triggered when traffic level changes.

- onTrafficExpired

Triggered when traffic information expires.

- onTrafficLoading

Triggered when traffic information is loading.

Method Detail

-onTrafficChangedWithTrafficLevel:

- (void)onTrafficChangedWithTrafficLevel:(nullable YMKTrafficLevel *)trafficLevel 

Triggered when traffic level changes.

Remark:
Parameters:
trafficLevel

has optional type, it may be uninitialized.

-onTrafficExpired

- (void)onTrafficExpired

Triggered when traffic information expires.

-onTrafficLoading

- (void)onTrafficLoading

Triggered when traffic information is loading.