# GoogleRidesharingDriver Framework Reference

# GMTDDeliveryDriverAPI

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

A class that provides access to all the core components and serves as the entry
point for the Delivery vertical.
- `


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


  ` The vehicle reporter used to send updates to the Fleet Engine backend.

  #### Declaration

  Swift

      var vehicleReporter: https://developers.google.com/maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Classes/GMTDDeliveryVehicleReporter.html { get }

  Objective-C

      @property (nonatomic, readonly) https://developers.google.com/maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Classes/GMTDDeliveryVehicleReporter.html *_Nonnull vehicleReporter;

- `


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


  ` The task manager used to create or update delivery tasks.

  #### Declaration

  Swift

      var deliveryTaskManager: https://developers.google.com/maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Classes/GMTDDeliveryTaskManager.html? { get }

  Objective-C

      @property (nonatomic, readonly, nullable) https://developers.google.com/maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Classes/GMTDDeliveryTaskManager.html *deliveryTaskManager;

- `


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


  ` The vehicle manager used to create or get delivery vehicles.

  #### Declaration

  Swift

      var deliveryVehicleManager: https://developers.google.com/maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Classes/GMTDDeliveryVehicleManager.html? { get }

  Objective-C

      @property (nonatomic, readonly, nullable) https://developers.google.com/maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Classes/GMTDDeliveryVehicleManager.html *deliveryVehicleManager;

- `


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


  ` Initializes the API.

  After initialization, driver APIs from different verticals should not be used
  until this instance has been deallocated.
  Using driver API instances from multiple verticals in the same SDK session
  can lead to unexpected behavior.

  #### Declaration

  Swift

      init?(driverContext: https://developers.google.com/maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Classes/GMTDDriverContext.html)

  Objective-C

      - (nullable instancetype)initWithDriverContext:
          (nonnull https://developers.google.com/maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Classes/GMTDDriverContext.html *)driverContext;

  #### Parameters

  |---|---|
  | ` driverContext ` | An object containing the necessary information for initialization. |

  #### Return Value

  An instance of the API.
- `


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


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

  #### Declaration

  Objective-C

      - (null_unspecified instancetype)init;