GoogleRidesharingDriver Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
GMTDDeliveryVehicleManager
@interface GMTDDeliveryVehicleManager : NSObject
Class used to create and retrieve delivery vehicles from Fleet Engine
-
This class may only be initialized internally.
Declaration
Objective-C
- (nonnull instancetype)init;
-
Creates a vehicle on Fleet Engine.
Parameters
completion
|
The block executed when a response from Fleet Engine is received.
|
-
Retrieves a vehicle from Fleet Engine.
Parameters
completion
|
The block executed when a response from Fleet Engine is received.
|
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\u003e\u003ccode\u003eGMTDDeliveryVehicleManager\u003c/code\u003e is a class for interacting with Fleet Engine to manage delivery vehicles.\u003c/p\u003e\n"],["\u003cp\u003eThe class can only be initialized internally and cannot be directly instantiated.\u003c/p\u003e\n"],["\u003cp\u003eIt provides a method \u003ccode\u003ecreateVehicleWithCompletion:\u003c/code\u003e to create a new delivery vehicle within Fleet Engine.\u003c/p\u003e\n"],["\u003cp\u003eIt provides a method \u003ccode\u003egetVehicleWithCompletion:\u003c/code\u003e to retrieve an existing delivery vehicle from Fleet Engine.\u003c/p\u003e\n"]]],["The `GMTDDeliveryVehicleManager` class manages delivery vehicles in Fleet Engine. It cannot be initialized externally. The key actions are: creating a delivery vehicle using `createVehicleWithCompletion:`, which sends a request to Fleet Engine and provides a completion block for the response; and retrieving a vehicle via `getVehicleWithCompletion:`, which likewise uses a completion block upon receiving a response from Fleet Engine. Both actions are done with a completion block upon receiving the response from Fleet Engine.\n"],null,["# GoogleRidesharingDriver Framework Reference\n\nGMTDDeliveryVehicleManager\n==========================\n\n @interface GMTDDeliveryVehicleManager : NSObject\n\nClass used to create and retrieve delivery vehicles from Fleet Engine\n- `\n ``\n ``\n `\n\n ### [-init](#/c:objc(cs)GMTDDeliveryVehicleManager(im)init)\n\n `\n ` \n Unavailable \n This class may only be initialized internally. \n\n #### Declaration\n\n Objective-C \n\n - (nonnull instancetype)init;\n\n- `\n ``\n ``\n `\n\n ### [-createVehicleWithCompletion:](#/c:objc(cs)GMTDDeliveryVehicleManager(im)createVehicleWithCompletion:)\n\n `\n ` \n Creates a vehicle on Fleet Engine. \n\n #### Declaration\n\n Swift \n\n func createVehicle() async throws -\u003e ../Classes/GMTDDeliveryVehicle.html\n\n Objective-C \n\n - (void)createVehicleWithCompletion:\n (nonnull ../Type-Definitions/GMTDDeliveryVehicleManagerCompletionHandler.html)completion;\n\n #### Parameters\n\n |--------------------|-------------------------------------------------------------------|\n | ` `*completion*` ` | The block executed when a response from Fleet Engine is received. |\n\n- `\n ``\n ``\n `\n\n ### [-getVehicleWithCompletion:](#/c:objc(cs)GMTDDeliveryVehicleManager(im)getVehicleWithCompletion:)\n\n `\n ` \n Retrieves a vehicle from Fleet Engine. \n\n #### Declaration\n\n Swift \n\n func vehicle() async throws -\u003e ../Classes/GMTDDeliveryVehicle.html\n\n Objective-C \n\n - (void)getVehicleWithCompletion:\n (nonnull ../Type-Definitions/GMTDDeliveryVehicleManagerCompletionHandler.html)completion;\n\n #### Parameters\n\n |--------------------|-------------------------------------------------------------------|\n | ` `*completion*` ` | The block executed when a response from Fleet Engine is received. |"]]