GoogleRidesharingDriver Framework Reference

  • GMTDDeliveryVehicleReporter is an object used to send delivery-related information to the Fleet Engine backend.

  • The setVehicleStops method updates the remaining vehicle stops, requiring a non-nil, ordered array of GMTDVehicleStop objects, with all stops after the first one having a state of GMTDVehicleStopStateNew.

  • Methods reportEnrouteToNextStopWithCompletion, reportArrivedAtStopWithCompletion, and reportCompletedStopWithCompletion update the state or remove the first GMTDVehicleStop in remainingVehicleStops, which must contain at least one stop when these are called.

  • getRemainingVehicleStopsWithCompletion retrieves the GMTDVehicleStop objects that represent the vehicle's pending stops.

GMTDDeliveryVehicleReporter

@interface GMTDDeliveryVehicleReporter : GMTDVehicleReporter

Object for sending information to the Fleet Engine backend. Used for deliveries.