Model
public struct Model
The waypoint arrival view model.
Important
This is a Public Preview API. It may be changed or removed at any time.-
Creates a new
WaypointArrivalView.Modelwith given parameters.Declaration
Swift
public init( title: String, waypointName: String, address: String, chargingStopModel: ChargingStopModel?, continueButtonText: String, onContinueAction: @escaping () -> () )Parameters
titlethe top title for the Waypoint Arrival view.
waypointNamethe name of the waypoint for which WaypointArrivalView is shown.
addressthe address of the waypoint.
chargingStopModelthe information for the charging stop in the waypoint.
continueButtonTextthe text on the button associated with the continue action for
WaypointArrivalView.onContinueActionthe action that is triggered when the continue button is tapped.
-
The top title for the
WaypointArrivalView.Declaration
Swift
public var title: String -
The name of the waypoint for which
WaypointArrivalViewis shown.Declaration
Swift
public var waypointName: String -
The address of the waypoint.
Declaration
Swift
public var address: String -
The information for the charging stop in the waypoint.
Declaration
Swift
public var chargingStopModel: ChargingStopModel? -
The text on the button associated with the continue action for
WaypointArrivalView.Declaration
Swift
public var continueButtonText: String -
The action that is triggered when the continue button is tapped.
Declaration
Swift
public var onContinueAction: () -> ()
TomTom SDK for iOS (0.51.1)
Model