TrafficClientFactory
object TrafficClientFactory
Responsible for creating the default Traffic implementation.
Important: This is a Public Preview API. It may be changed or removed at any time.
Functions
Link copied to clipboard
fun createHybridMode(context: Context, apiKey: String, dataStore: HybridNavigationDataStore, locationProvider: LocationProvider, locale: Locale): Traffic
Important: This is a Public Preview API. It may be changed or removed at any time.
Link copied to clipboard
fun createOfflineMode(context: Context, apiKey: String, ndsStore: NdsStore, locationProvider: LocationProvider, locale: Locale): Traffic
Important: This is a Public Preview API. It may be changed or removed at any time.
Link copied to clipboard
fun createOnlineMode(context: Context, apiKey: String, dataStore: NavigationTileStore, locationProvider: LocationProvider, locale: Locale): Traffic
Important: This is a Public Preview API. It may be changed or removed at any time.
Link copied to clipboard
fun createWithTpegProvider(context: Context, trafficTpegConfiguration: TrafficTpegConfiguration, ndsStore: NdsStore, locationProvider: LocationProvider, locale: Locale): Traffic
Important: This is a Public Preview API. It may be changed or removed at any time.