Model

public struct Model

A model representing the state of the InstructionStackView.

Important

This is a Public Preview API. It may be changed or removed at any time.
  • Initializes a new instance of the InstructionStackView.Model.

    Important

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

    Declaration

    Swift

    public init(
        etaModel: ETAView.Model,
        maneuverModel: ManeuverView.Model,
        routeUpdateMessage: RouteUpdateView.Message,
        progress: Double
    )

    Parameters

    etaModel

    The ETA model.

    maneuverModel

    The maneuver model.

    routeUpdateMessage

    The route update message.

    progress

    The progress of the route.

  • The ETA model.

    Important

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

    Declaration

    Swift

    public var etaModel: ETAView.Model
  • The maneuver model.

    Important

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

    Declaration

    Swift

    public var maneuverModel: ManeuverView.Model
  • The route update message.

    Important

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

    Declaration

    Swift

    public var routeUpdateMessage: RouteUpdateView.Message
  • The progress of the route.

    Important

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

    Declaration

    Swift

    public var progress: Double