Package com.tomtom.sdk.maps.display.traffic
Types
Link copied to clipboard
data class CommunityAttributes( val probabilityOfOccurrence: ProbabilityOfOccurrence?, val numberOfReports: Int?, val lastReportTime: Date?)
Content copied to clipboard
Describes data associated with the TrafficIncident that comes from users.
Link copied to clipboard
data class Description(val iconCategory: IconCategory, val cause: String)
Content copied to clipboard
Description of the TrafficIncident with a corresponding iconCategory and cause.
Link copied to clipboard
The icon categories associated with the TrafficIncident.
Link copied to clipboard
The magnitude of delay associated with the TrafficIncident.
Link copied to clipboard
Used to notify a user about traffic incidents on the map.
Link copied to clipboard
Possible type of the TrafficIncidentPoi.
Link copied to clipboard
Possible level of the likelihood of the occurring TrafficIncident.
Link copied to clipboard
Possible traffic coverage.
Link copied to clipboard
Controls traffic-related operations on the map.
Link copied to clipboard
Generic interface that describes protobuf layers called "Traffic incidents flow" and "Traffic incidents POI".
Link copied to clipboard
data class TrafficIncidentFlow( val descriptions: List<Description>, val delay: Duration, val roadType: RoadType?, val leftHandTraffic: Boolean?, val magnitude: Magnitude?, val roadCoverage: RoadCoverage?, val clustered: Int?, val endDate: Date?, val id: String?, val communityAttributes: CommunityAttributes) : TrafficIncident
Content copied to clipboard
Describes the traffic incident flow.
Link copied to clipboard
data class TrafficIncidentPoi( val descriptions: List<Description>, val delay: Duration, val roadType: RoadType?, val leftHandTraffic: Boolean?, val magnitude: Magnitude?, val roadCoverage: RoadCoverage?, val poiType: PoiType, val clusterId: Int?, val clusterSize: Int?, val clustered: Int?, val endDate: Date?, val id: String?, val communityAttributes: CommunityAttributes) : TrafficIncident
Content copied to clipboard
Describes the traffic incident poi.