TrafficTpeg

Deprecated

This API is deprecated and will be removed with the next major release.

Replace with

com.tomtom.sdk.traffic.client.TrafficClientFactory

TomTom implementation of entry point to perform traffic actions. It reacts to and controls TPEG traffic provider behavior.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open override val isConnected: Boolean
Link copied to clipboard
open override val trafficEventCount: Int
Link copied to clipboard
open override val trafficStatus: TrafficStatus

Functions

Link copied to clipboard

Important: This is a Public Preview API. It may be changed or removed at any time.

Link copied to clipboard
open override fun close()

Important: This is a Public Preview API. It may be changed or removed at any time.

Link copied to clipboard
open override fun getTrafficEvents(boundingBox: GeoBoundingBox, callback: TrafficEventsCallback): Cancellable

Important: This is a Public Preview API. It may be changed or removed at any time.

Link copied to clipboard

Important: This is a Public Preview API. It may be changed or removed at any time.

Link copied to clipboard

Retrieve the public traffic interface for Routing. This can be passed to the OnboardRoutingClient to provide traffic information for routing on the onboard map.

Link copied to clipboard
open override fun updateLocale(locale: Locale)

Important: This is a Public Preview API. It may be changed or removed at any time.

Link copied to clipboard
open override fun updateLocationProvider(locationProvider: LocationProvider)

Sets a new location provider.

Link copied to clipboard
open override fun updateRoutesForTraffic(routes: List<List<GeoPoint>>)

Update the list of routes for which the client is interested in receiving traffic along the route. Providing an empty list disables traffic along the route. It can be enabled again by providing new routes via this method.