TollRoadSection

@available(*, deprecated, message: "This API is deprecated and will be removed with the next major release.\nPlease use TomTomSDKRoute.TollSection instead.")
public struct TollRoadSection : Section

The TollRoadSection struct contains information about a part of the route going via a toll road.

  • Initializer.

    Declaration

    Swift

    @available(*, deprecated, message: "This API is deprecated and will be removed with the next major release.\nPlease use TomTomSDKRoute.TollSection instead.")
    public init(
        sectionLocation: SectionLocation,
        routeOffset: Measurement<UnitLength>,
        length: Measurement<UnitLength>,
        tollPaymentTypes: Set<TollPaymentType>
    )

    Parameters

    sectionLocation

    The location of the section.

    routeOffset

    The offset on the route where the section starts.

    length

    The length of the section.

    tollPaymentTypes

    The types of payments accepted at the toll gate.

  • The location of the section.

    Declaration

    Swift

    @available(*, deprecated, message: "This API is deprecated and will be removed with the next major release.")
    public var sectionLocation: SectionLocation
  • The offset on the route where the section starts.

    Declaration

    Swift

    @available(*, deprecated, message: "This API is deprecated and will be removed with the next major release.")
    public var routeOffset: Measurement<UnitLength>
  • The length of the section.

    Declaration

    Swift

    @available(*, deprecated, message: "This API is deprecated and will be removed with the next major release.")
    public var length: Measurement<UnitLength>
  • Types of payments accepted at the toll gate

    Declaration

    Swift

    @available(*, deprecated, message: "This API is deprecated and will be removed with the next major release.")
    public var tollPaymentTypes: Set<TollPaymentType>