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

TrafficCollector

Interface for managing traffic information collection service.

This interface is thread-safe.

TrafficCollector(context: Context)

Function of creating a service for collecting information about traffic. The service for collecting information about traffic analyzes the state of traffic on the road where the user is moving and sends the results of the analysis to the server in anonymized form .

Parameters
context
Context

Context - the environment required for the SDK to work.

Returns

Service for collecting traffic information.

Properties

Function of determining the state of allowing / prohibiting sending information about transport traffic to the server.