createWithTpegProvider
fun createWithTpegProvider(context: Context, trafficTpegConfiguration: TrafficTpegConfiguration, ndsStore: NdsStore, locationProvider: LocationProvider, locale: Locale): Traffic
Creates a Traffic implementation for the TomTom TPEG traffic provider.
Important: This is a Public Preview API. It may be changed or removed at any time.
Parameters
context
Application context.
trafficTpegConfiguration
Configuration for traffic engine.
ndsStore
DataStore which is based on an onboard NDS map.
locationProvider
LocationProvider for tracking position updates.
locale
Traffic client's Locale. See Traffic.updateLocale