ru.dgis.sdk.traffic.TrafficScoreProvider | Android SDK | Urbi Documentation
Android SDK

TrafficScoreProvider

Subscribtion to updates of the traffic jam score.

This interface is thread-safe.

TrafficScoreProvider(map: Map)
Parameters
map
Map

Map for which the area of visibility is tracked.

Returns

Object for tracking the traffic jam score.

The resulting object must be stored all the time the data needs to be updated.

TrafficScoreProvider(context: Context, point: GeoPoint)
Parameters
context
Context

Context - the environment required for the SDK to work.

point
GeoPoint

Geopoint for which you need to get the traffic jam score.

Returns

Object for tracking the traffic jam score.

The resulting object must be stored all the time the data needs to be updated.

Properties

Current status and value of traffic jam score.

Current status and value of traffic jam score.