sdk-routing / com.tomtom.online.sdk.routing.ev.route / Section / <init>

<init>

Section(startPointIndex: Int?, endPointIndex: Int?, travelMode: TravelMode, sectionType: SectionType, countryCode: String?, simpleCategory: SimpleCategory, effectiveSpeedInKmh: Int?, delayInSeconds: Int?, magnitudeOfDelay: Int?, tec: Tec?)

Represents information about the route section.

Parameters

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.