PostAction
public struct PostAction : Hashable
An action that must be done after arrival, i.e. completing a section in the route.
-
Type of this action. Defaults to
PostActionType.chargingSetup.Declaration
Swift
public var action: PostActionType -
Estimated duration of this action. Defaults to 0 seconds.
Declaration
Swift
public var duration: TimeInterval -
The additional information that is available if the action is of type charging.
Declaration
Swift
public var chargingDetails: ChargingActionDetails? -
Creates a new instance.
Declaration
Swift
public init(action: PostActionType = PostActionType.chargingSetup, duration: TimeInterval = 0, chargingDetails: ChargingActionDetails? = nil)