MapKit Mobile SDK

MMKTrafficDelegate

protocol MMKTrafficDelegate : NSObjectProtocol

Listener to handle traffic information.

Summary

Instance methods

func onTrafficChanged(with trafficLevel: MMKTrafficLevel?)
Triggered when traffic level changes

func onTrafficLoading()
Triggered when traffic information is loading

func onTrafficExpired()
Triggered when traffic information expires

Instance methods

onTrafficChanged(with:)

func onTrafficChanged(with trafficLevel: MMKTrafficLevel?)

Triggered when traffic level changes.


onTrafficLoading()

func onTrafficLoading()

Triggered when traffic information is loading.


onTrafficExpired()

func onTrafficExpired()

Triggered when traffic information expires.