TrafficStatus
class TrafficStatus(val activeDataSource: TrafficDataSourceType? = null, val trafficDataAvailable: Boolean = false, val supportsArbitraryLocations: Boolean = false)
Representation of the current status of the traffic service in NavSDK.
Constructors
Link copied to clipboard
constructor(activeDataSource: TrafficDataSourceType? = null, trafficDataAvailable: Boolean = false, supportsArbitraryLocations: Boolean = false)
Properties
Link copied to clipboard
The type of the data source from which traffic data is currently exposed. This usually reflects the data source that was selected during TrafficService creation, but can change in case an RDS-TMC fallback data source was added.
Link copied to clipboard
True if the current data source supports querying traffic data on demand in arbitrary locations. If this return false, the traffic service should not be used to display the current traffic situation on the map, except for the offline fallback scenario.
Link copied to clipboard
True if the traffic service knows about the traffic situation in the vicinity of the current location.