create
fun create(context: Context, trafficTpegConfiguration: TrafficTpegConfiguration, ndsStore: NdsStore, locationProvider: LocationProvider, locale: Locale): Traffic
Deprecated
This API is deprecated and will be removed with the next major release.
Replace with
TrafficClientFactory.createWithTpegProvider
Content copied to clipboard
Creates an instance of Traffic.
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