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-01-21 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-21 UTC."],[[["`GMTDDeliveryVehicleManager` is a class for interacting with Fleet Engine to manage delivery vehicles."],["The class can only be initialized internally and cannot be directly instantiated."],["It provides a method `createVehicleWithCompletion:` to create a new delivery vehicle within Fleet Engine."],["It provides a method `getVehicleWithCompletion:` to retrieve an existing delivery vehicle from Fleet Engine."]]],["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"]]