# GoogleRidesharingDriver Framework Reference

# GMTDVehicleStop

    @interface GMTDVehicleStop : https://developers.google.com/maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Classes/GMTSImmutableData.html

An object representing a vehicle stop for deliveries.
- `


  ### [taskInfoArray](https://developers.google.com/maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Classes/GMTDVehicleStop#/c:objc(cs)GMTDVehicleStop(py)taskInfoArray)


  ` The array of TaskInfo objects to be performed at this stop.

  #### Declaration

  Swift

      var taskInfoArray: [https://developers.google.com/maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Classes/GMTDTaskInfo.html] { get }

  Objective-C

      @property (nonatomic, copy, readonly) NSArray<https://developers.google.com/maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Classes/GMTDTaskInfo.html *> *_Nonnull taskInfoArray;

- `


  ### [plannedWaypoint](https://developers.google.com/maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Classes/GMTDVehicleStop#/c:objc(cs)GMTDVehicleStop(py)plannedWaypoint)


  ` The waypoint for the stop.

  #### Declaration

  Swift

      var plannedWaypoint: GMSNavigationWaypoint? { get }

  Objective-C

      @property (nonatomic, readonly, nullable) GMSNavigationWaypoint *plannedWaypoint;

- `


  ### [state](https://developers.google.com/maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Classes/GMTDVehicleStop#/c:objc(cs)GMTDVehicleStop(py)state)


  ` The current state of a VehicleStop.

  #### Declaration

  Swift

      var state: https://developers.google.com/maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Enums/GMTDVehicleStopState.html { get }

  Objective-C

      @property (nonatomic, readonly) https://developers.google.com/maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Enums/GMTDVehicleStopState.html state;

- `


  ### [-initWithTaskInfoArray:plannedWaypoint:state:](https://developers.google.com/maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Classes/GMTDVehicleStop#/c:objc(cs)GMTDVehicleStop(im)initWithTaskInfoArray:plannedWaypoint:state:)


  ` Instantiates an instance of this class.

  #### Declaration

  Swift

      init(taskInfoArray: [https://developers.google.com/maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Classes/GMTDTaskInfo.html], plannedWaypoint: GMSNavigationWaypoint?, state: https://developers.google.com/maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Enums/GMTDVehicleStopState.html)

  Objective-C

      - (nonnull instancetype)
          initWithTaskInfoArray:(nonnull NSArray<https://developers.google.com/maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Classes/GMTDTaskInfo.html *> *)taskInfoArray
                plannedWaypoint:(nullable GMSNavigationWaypoint *)plannedWaypoint
                          state:(https://developers.google.com/maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Enums/GMTDVehicleStopState.html)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. |

- `


  ### [-init](https://developers.google.com/maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Classes/GMTDVehicleStop#/c:objc(cs)GMTDVehicleStop(im)init)


  ` Unavailable
  Use `https://developers.google.com/maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Classes/GMTDVehicleStop.html#/c:objc(cs)GMTDVehicleStop(im)initWithTaskInfoArray:plannedWaypoint:state:` instead.

  #### Declaration

  Objective-C

      - (nonnull instancetype)init;