traffic library
Classes
- TrafficDataProvider
- This abstract class provides traffic information from radio signals to other HERE SDK modules.
- TrafficEngine
- Use the TrafficEngine to get information about current traffic flow and incidents in an area specified by GeoBox, GeoCircle, or GeoCorridor.
- TrafficFlow
-
This class provides details about traffic flow along a GeoCorridor, inside a GeoCircle or a GeoBox, that represents particular path of the road network.
Backends for TrafficEngine and traffic vector tiles are different however backends may share the same data.
For additional information about fields, refer to Traffic API v7 API Reference: Traffic API v7. - TrafficFlowBase
-
This interface provides details about a traffic flow.
For additional information about fields, refer to Traffic API v7 API Reference: Traffic API v7. - TrafficFlowQueryOptions
- The options to specify how traffic flow data should be queried.
- TrafficIncident
- TrafficIncident provides details about a traffic incident.
- TrafficIncidentBase
- TrafficIncident provides details about a traffic incident.
- TrafficIncidentLookupOptions
- All the options to specify how a single incident should be queried.
- TrafficIncidentsQueryOptions
- The options to specify how incidents should be queried.
- TrafficIncidentVehicleRestriction
- The vehicle restriction representing a vehicle category and relevant restriction rules.
- TrafficLocation
- The location reference to the traffic incident.
Enums
- JunctionsTraversability
- Junctions traversability of some traffic incident or flow section.
- TrafficIncidentImpact
- Impact of a traffic incident.
- TrafficIncidentRestrictedVehicleCategory
- The vehicle categories that can be restricted.
- TrafficIncidentType
- Category of a traffic incident.
- TrafficQueryError
- Represents various errors that could occur from a traffic queries.
- Traversability
- Junctions traversability of some traffic incident or flow section.
Typedefs
-
TrafficFlowQueryCallback
= void Function(TrafficQueryError? queryError, List<
TrafficFlow> ? result) - Callback passed to following functions: TrafficEngine.queryForFlowInBox TrafficEngine.queryForFlowInCircle TrafficEngine.queryForFlowInCorridor The method will be called on the main thread when a search call has been completed.
- TrafficIncidentLookupCallback = void Function(TrafficQueryError? queryError, TrafficIncident? result)
- Callback passed to TrafficEngine.lookupIncident.
-
TrafficIncidentsQueryCallback
= void Function(TrafficQueryError? queryError, List<
TrafficIncident> ? result) - Callback passed to TrafficEngine.queryForIncidentsInCorridor.