GMTDVehicleStop
@interface GMTDVehicleStop : GMTSImmutableData
An object representing a vehicle stop for deliveries.
-
The array of TaskInfo objects to be performed at this stop.
Declaration
Swift
var taskInfoArray: [GMTDTaskInfo] { get }
Objective-C
@property (nonatomic, copy, readonly) NSArray<GMTDTaskInfo *> *_Nonnull taskInfoArray;
-
The waypoint for the stop.
Declaration
Swift
var plannedWaypoint: GMSNavigationWaypoint? { get }
Objective-C
@property (nonatomic, readonly, nullable) GMSNavigationWaypoint *plannedWaypoint;
-
The current state of a VehicleStop.
Declaration
Swift
var state: GMTDVehicleStopState { get }
Objective-C
@property (nonatomic, readonly) GMTDVehicleStopState state;
-
Instantiates an instance of this class.
Declaration
Swift
init(taskInfoArray: [GMTDTaskInfo], plannedWaypoint: GMSNavigationWaypoint?, state: GMTDVehicleStopState)
Objective-C
- (nonnull instancetype) initWithTaskInfoArray:(nonnull NSArray<GMTDTaskInfo *> *)taskInfoArray plannedWaypoint:(nullable GMSNavigationWaypoint *)plannedWaypoint state:(GMTDVehicleStopState)state;
Parameters
taskInfoArray
The list of tasks to be performed at this stop.
plannedWaypoint
The waypoint of the stop.
state
The state of the VehicleStop.
-
Unavailable
Use
-initWithTaskInfoArray:plannedWaypoint:state:
instead.Declaration
Objective-C
- (nonnull instancetype)init;