GoogleRidesharingDriver Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
GMTDVehicleStop
An object representing a vehicle stop for deliveries.
-
The array of TaskInfo objects to be performed at this stop.
Declaration
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.
-
Instantiates an instance of this class.
Declaration
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.
|
-
Declaration
Objective-C
- (nonnull instancetype)init;
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-27 UTC.
[null,null,["Last updated 2025-08-27 UTC."],[[["\u003cp\u003eGMTDVehicleStop represents a location where a delivery vehicle must stop, outlining the actions needed at that stop.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003etaskInfoArray\u003c/code\u003e property contains an array of \u003ccode\u003eTaskInfo\u003c/code\u003e objects, detailing each task required at the specific stop.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eplannedWaypoint\u003c/code\u003e designates the exact navigational waypoint for the vehicle to arrive, marking the physical location of the stop.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003estate\u003c/code\u003e property defines the current status of the stop via an enum.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003einitWithTaskInfoArray:plannedWaypoint:state:\u003c/code\u003e method is used to instantiate a \u003ccode\u003eGMTDVehicleStop\u003c/code\u003e object, allowing customization of the stop's tasks, location, and state.\u003c/p\u003e\n"]]],[],null,["# GoogleRidesharingDriver Framework Reference\n\nGMTDVehicleStop\n===============\n\n @interface GMTDVehicleStop : ../Classes/GMTSImmutableData.html\n\nAn object representing a vehicle stop for deliveries.\n- `\n ``\n ``\n `\n\n ### [taskInfoArray](#/c:objc(cs)GMTDVehicleStop(py)taskInfoArray)\n\n `\n ` \n The array of TaskInfo objects to be performed at this stop. \n\n #### Declaration\n\n Swift \n\n var taskInfoArray: [../Classes/GMTDTaskInfo.html] { get }\n\n Objective-C \n\n @property (nonatomic, copy, readonly) NSArray\u003c../Classes/GMTDTaskInfo.html *\u003e *_Nonnull taskInfoArray;\n\n- `\n ``\n ``\n `\n\n ### [plannedWaypoint](#/c:objc(cs)GMTDVehicleStop(py)plannedWaypoint)\n\n `\n ` \n The waypoint for the stop. \n\n #### Declaration\n\n Swift \n\n var plannedWaypoint: GMSNavigationWaypoint? { get }\n\n Objective-C \n\n @property (nonatomic, readonly, nullable) GMSNavigationWaypoint *plannedWaypoint;\n\n- `\n ``\n ``\n `\n\n ### [state](#/c:objc(cs)GMTDVehicleStop(py)state)\n\n `\n ` \n The current state of a VehicleStop. \n\n #### Declaration\n\n Swift \n\n var state: ../Enums/GMTDVehicleStopState.html { get }\n\n Objective-C \n\n @property (nonatomic, readonly) ../Enums/GMTDVehicleStopState.html state;\n\n- `\n ``\n ``\n `\n\n ### [-initWithTaskInfoArray:plannedWaypoint:state:](#/c:objc(cs)GMTDVehicleStop(im)initWithTaskInfoArray:plannedWaypoint:state:)\n\n `\n ` \n Instantiates an instance of this class. \n\n #### Declaration\n\n Swift \n\n init(taskInfoArray: [../Classes/GMTDTaskInfo.html], plannedWaypoint: GMSNavigationWaypoint?, state: ../Enums/GMTDVehicleStopState.html)\n\n Objective-C \n\n - (nonnull instancetype)\n initWithTaskInfoArray:(nonnull NSArray\u003c../Classes/GMTDTaskInfo.html *\u003e *)taskInfoArray\n plannedWaypoint:(nullable GMSNavigationWaypoint *)plannedWaypoint\n state:(../Enums/GMTDVehicleStopState.html)state;\n\n #### Parameters\n\n |-------------------------|-------------------------------------------------|\n | ` `*taskInfoArray*` ` | The list of tasks to be performed at this stop. |\n | ` `*plannedWaypoint*` ` | The waypoint of the stop. |\n | ` `*state*` ` | The state of the VehicleStop. |\n\n- `\n ``\n ``\n `\n\n ### [-init](#/c:objc(cs)GMTDVehicleStop(im)init)\n\n `\n ` \n Unavailable \n Use [-initWithTaskInfoArray:plannedWaypoint:state:](../Classes/GMTDVehicleStop.html#/c:objc(cs)GMTDVehicleStop(im)initWithTaskInfoArray:plannedWaypoint:state:) instead. \n\n #### Declaration\n\n Objective-C \n\n - (nonnull instancetype)init;"]]