RouteStopProgress

public struct RouteStopProgress

Represents current progress along the route till given TomTomSDKRoute/RouteStop.

  • Creates an instance of TomTomSDKNavigationEngines/RouteStopProgress.

    Declaration

    Swift

    public init(
        routeStopID: UUID,
        remainingTime: Measurement<UnitDuration>,
        remainingDistance: Measurement<UnitLength>
    )

    Parameters

    routeStopID

    A unique identifier of the corresponding route stop.

    remainingTime

    Estimated remaining travel time from current location till TomTomSDKRoute/RouteStop.

    remainingDistance

    Remaining distance along the route from current location till TomTomSDKRoute/RouteStop.

  • A unique identifier of the corresponding route stop.

    Declaration

    Swift

    public let routeStopID: UUID
  • Estimated remaining travel time from current location till TomTomSDKRoute/RouteStop.

    Declaration

    Swift

    public let remainingTime: Measurement<UnitDuration>
  • Remaining distance along the route from current location till TomTomSDKRoute/RouteStop.

    Declaration

    Swift

    public let remainingDistance: Measurement<UnitLength>