Package com.azure.maps.route.models
Class RouteSectionTec
java.lang.Object
com.azure.maps.route.models.RouteSectionTec
Details of the traffic event, using definitions in the [TPEG2-TEC](https://www.iso.org/standard/63116.html) standard.
Can contain effectCode and causes elements.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the causes property: Causes array.Get the effectCode property: The effect on the traffic flow.setCauses
(List<RouteSectionTecCause> causes) Set the causes property: Causes array.
-
Constructor Details
-
RouteSectionTec
public RouteSectionTec()
-
-
Method Details
-
getEffectCode
Get the effectCode property: The effect on the traffic flow. Contains a value in the tec001:EffectCode table, as defined in the [TPEG2-TEC](https://www.iso.org/standard/63116.html) standard. Can be used to color-code traffic events according to severity.- Returns:
- the effectCode value.
-
getCauses
Get the causes property: Causes array.- Returns:
- the causes value.
-
setCauses
Set the causes property: Causes array.- Parameters:
causes
- the causes value to set.- Returns:
- the RouteSectionTec object itself.
-