TrafficIncident class

Bing
 

Represents a traffic incident.

Name

Type

Description

Congestion

string

Gets a description of the degree of traffic congestion.

Description

string

Gets a description of the traffic incident.

Detour

string

Gets information about a detour around the incident, if available.

EndTime

DateTimeOffset

Gets the end time of the traffic incident.

Id

string

Gets the unique ID of the traffic incident.

Lane

string

Gets information about road lanes affected by the traffic incident.

LastModified

DateTimeOffset

Gets the date when the traffic incident was last updated.

Location

Location

Gets the location of the traffic incident.

LocationCodes

IList<string>

Gets a list of codes representing the traffic incident locations.

RoadClosed

bool

Gets a bool indicating whether there are road closures related to the traffic incident.

Severity

IncidentSeverity

Gets the severity of the traffic incident.

StartTime

DateTimeOffset

Gets the start time of the traffic incident.

ToPoint

Location

Gets the location at which the traffic related to the incident ends.

Type

IncidentType

Gets the traffic incident type.

Verified

bool

Gets a bool indicating whether the incident has been visually verified or officially confirmed by a source such as the local police department.

Show: