@PublicPreview("2021.06") data class Section : Serializable
Represents information about the route section.
startPointIndex
- Gets the index of the first point (offset 0) in the route this section applies to
(only included for routeRepresentation polyline).
endPointIndex
- Gets the index of the last point (offset 0) in the route this section applies to
(only included for routeRepresentation polyline).
travelMode
- Gets the requested travel mode.
sectionType
- Gets the response section type.
countryCode
- Gets the 3-character ISO 3166-1 alpha-3 country code.
simpleCategory
- Gets the type of the incident.
effectiveSpeedInKmh
- Gets the effective speed of the incident in km/h, averaged over its entire length.
delayInSeconds
- Gets the delay in seconds caused by the incident.
magnitudeOfDelay
- Gets the magnitude of delay caused by the incident.
tec
- Gets the details of the traffic event.
val countryCode: String?
Gets the 3-character ISO 3166-1 alpha-3 country code. |
|
val delayInSeconds: Int?
Gets the delay in seconds caused by the incident. |
|
val effectiveSpeedInKmh: Int?
Gets the effective speed of the incident in km/h, averaged over its entire length. |
|
val endPointIndex: Int?
Gets the index of the last point (offset 0) in the route this section applies to (only included for routeRepresentation polyline). |
|
val magnitudeOfDelay: Int?
Gets the magnitude of delay caused by the incident. |
|
val sectionType: SectionType
Gets the response section type. |
|
val simpleCategory: SimpleCategory
Gets the type of the incident. |
|
val startPointIndex: Int?
Gets the index of the first point (offset 0) in the route this section applies to (only included for routeRepresentation polyline). |
|
val tec: Tec?
Gets the details of the traffic event. |
|
val travelMode: TravelMode
Gets the requested travel mode. |