Model
public struct Model
A model representing the data for the ManeuverView.
This model contains various properties that describe the maneuver, such as distance text, maneuver icon names, next street or intersection, road numbers, and more.
Important
This is a Public Preview API. It may be changed or removed at any time.-
init(distanceText:distanceUnitText: maneuverIconName: combinedManeuverIconName: nextStreetOrIntersection: roadNumbers: roadExitNumber: muted: laneIcons: ) Initializes a new instance of the
ManeuverView.Model.Important
This is a Public Preview API. It may be changed or removed at any time.
Declaration
Swift
public init( distanceText: String? = nil, distanceUnitText: String? = nil, maneuverIconName: ImageName? = nil, combinedManeuverIconName: ImageName? = nil, nextStreetOrIntersection: String? = nil, roadNumbers: [RoadNumberView.RoadNumber]? = nil, roadExitNumber: String? = nil, muted: Bool = false, laneIcons: [ImageName]? = nil )Parameters
distanceTextThe text representing the distance.
distanceUnitTextThe text representing the distance unit.
maneuverIconNameThe name of the maneuver icon.
combinedManeuverIconNameThe name of the combined maneuver icon.
nextStreetOrIntersectionThe name of the next street or intersection.
roadNumbersAn array of road numbers.
roadExitNumberThe road exit number.
mutedA boolean indicating if the sound is muted.
laneIconsAn array of lane icon names.
-
The text representing the distance.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public var distanceText: String? -
The text representing the distance unit.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public var distanceUnitText: String? -
The name of the maneuver icon.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public var maneuverIconName: ImageName? -
The name of the combined maneuver icon.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public var combinedManeuverIconName: ImageName? -
The name of the next street or intersection.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public var nextStreetOrIntersection: String? -
An array of road numbers.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public var roadNumbers: [RoadNumberView.RoadNumber]? -
The road exit number.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public var roadExitNumber: String? -
A boolean indicating if the sound is muted.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public var muted: Bool -
An array of lane icon names.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public var laneIcons: [ImageName]?
TomTom SDK for iOS (0.66.0)
Model