ProgressPoint

public struct ProgressPoint

Contains information about the progress for specific points on the route.

Important

This is a Public Preview API. It may be changed or removed at any time.

Lifecycle

  • The default initializer.

    Declaration

    Swift

    public init(pointIndex: UInt, travelTime: Measurement<UnitDuration>?, distance: Measurement<UnitLength>?)

    Parameters

    pointIndex

    Index of point.

    travelTime

    Time to specified point.

    distance

    Distance to specified point.

Public

  • Index of the point.

    Declaration

    Swift

    public let pointIndex: UInt
  • Time to specified point.

    Declaration

    Swift

    public let travelTime: Measurement<UnitDuration>?
  • Distance to specified point.

    Declaration

    Swift

    public let distance: Measurement<UnitLength>?