TrafficTpeg

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

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

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open override val isConnected: Boolean

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

Link copied to clipboard
open override val trafficEventCount: Int

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

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

Sets a new location provider.

Link copied to clipboard

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.