ETAItem
public struct ETAItem
A model representing the ETA (Estimated Time of Arrival) item.
Important
This is a Public Preview API. It may be changed or removed at any time.-
Initializes a new instance of
ETAItemwith default values.Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public init() -
init(arrivalTimeText:distanceToDestinationText: distanceToDestinationUnitText: timeToDestinationText: timeToDestinationUnitText: ) Initializes a new instance of
ETAItemwith specified values.Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public init( arrivalTimeText: String, distanceToDestinationText: String, distanceToDestinationUnitText: String, timeToDestinationText: String, timeToDestinationUnitText: String )Parameters
arrivalTimeTextThe text representing the arrival time.
distanceToDestinationTextThe text representing the distance to the destination.
distanceToDestinationUnitTextThe text representing the unit of distance to the destination.
timeToDestinationTextThe text representing the time to the destination.
timeToDestinationUnitTextThe text representing the unit of time to the destination.
-
The text representing the arrival time.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public var arrivalTimeText: String -
The text representing the distance to the destination.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public var distanceToDestinationText: String -
The text representing the unit of distance to the destination.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public var distanceToDestinationUnitText: String -
The text representing the time to the destination.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public var timeToDestinationText: String -
The text representing the unit of time to the destination.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public var timeToDestinationUnitText: String
TomTom SDK for iOS (0.66.0)
ETAItem