SectionEV

@available(*, message: "TT_API_PUBLIC_PREVIEW('byTheEndOf=2020.12', 'This is under Public Preview and subject to change until the end date. More information is available at: https://developer.tomtom.com/public-preview'﹚")
@objc
public class SectionEV : NSObject

Public Preview

This is under Public Preview and subject to change by the end of 2020.12. More information is available at: https://developer.tomtom.com/public-preview

Represents information about the route section.

Properties

  • Index of the first point (offset 0) in the route this section applies to (only included for routeRepresentation polyline).

    Declaration

    Swift

    @objc
    public let startPointIndexValue: Int
  • Index of the last point (offset 0) in the route this section applies to (only included for routeRepresentation polyline).

    Declaration

    Swift

    @objc
    public let endPointIndexValue: Int
  • Effective speed of the incident in km/h, averaged over its entire length.

    Declaration

    Swift

    @objc
    public let effectiveSpeedInKmh: Int
  • The requested travel mode.

    Declaration

    Swift

    @objc
    public let travelMode: TravelMode
  • Delay in seconds caused by the incident.

    Declaration

    Swift

    @objc
    public let delay: TimeInterval
  • The magnitude of delay caused by the incident.

    Declaration

    Swift

    @objc
    public let magnitudeOfDelayValue: Int
  • Type of the incident.

    Declaration

    Swift

    @objc
    public let simpleCategory: SimpleCategoryEV
  • A 3-character ISO 3166-1 alpha-3 country code.

    Declaration

    Swift

    @objc
    public let countryCode: String?
  • The response section type.

    Declaration

    Swift

    @objc
    public let sectionType: SectionType
  • tec

    Details of the traffic event.

    Declaration

    Swift

    @objc
    public let tec: TecEV?