PreAction
public struct PreAction : Hashable
An action that must be done prior to the section, i.e. boarding a ferry.
-
Type of this action. Defaults to
PreActionType.board.Declaration
Swift
public var action: PreActionType -
Estimated duration of this action. Defaults to 0 seconds.
Declaration
Swift
public var duration: TimeInterval -
Creates a new instance.
Declaration
Swift
public init(action: PreActionType = PreActionType.board, duration: TimeInterval = 0)