Model

public struct Model

A model representing the ETA (Estimated Time of Arrival) information.

Important

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

    Important

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

    Declaration

    Swift

    public init()
  • Initializes a new instance of Model with specified values.

    Important

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

    Declaration

    Swift

    public init(
        destinationETA: ETAItem,
        nextWaypointETA: ETAItem? = nil
    )

    Parameters

    destinationETA

    The ETA information for the destination.

    nextWaypointETA

    The ETA information for the next waypoint, if any.

  • The ETA information for the destination.

    Important

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

    Declaration

    Swift

    public var destinationETA: ETAItem
  • The ETA information for the next waypoint, if any.

    Important

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

    Declaration

    Swift

    public var nextWaypointETA: ETAItem?