GoogleRidesharingDriver Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
GMTDDeliveryVehicle
An immutable object representing a delivery vehicle.
-
Declaration
Swift
var vehicleID: String { get }
-
Declaration
Swift
var vehicleName: String { get }
Objective-C
@property (nonatomic, readonly) NSString *_Nonnull vehicleName;
-
The provider of the vehicle.
Declaration
Swift
var providerID: String { get }
Objective-C
@property (nonatomic, readonly) NSString *_Nonnull providerID;
-
The stops assigned to this vehicle.
Declaration
Objective-C
@property (nonatomic, readonly, nullable) NSArray<GMTDVehicleStop *> *vehicleStops;
-
This class will only be initialized internally with response data from Fleet Engine.
Declaration
Objective-C
- (nonnull instancetype)init;
-
Declaration
Objective-C
+ (instancetype)new NS_UNAVAILABLE;
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."],[[["\u003cp\u003eGMTDDeliveryVehicle is an immutable object representing a delivery vehicle.\u003c/p\u003e\n"],["\u003cp\u003eEach vehicle has a unique vehicleID, vehicleName, and providerID.\u003c/p\u003e\n"],["\u003cp\u003eEach vehicle has vehicleStops, which is an array that contains the stops assigned to the vehicle.\u003c/p\u003e\n"],["\u003cp\u003eThis class can only be initialized internally with response data from Fleet Engine.\u003c/p\u003e\n"]]],["The `GMTDDeliveryVehicle` is an immutable object representing a delivery vehicle, initialized internally. It contains essential details: `vehicleID`, `vehicleName`, and `providerID`, all accessible as read-only strings. Additionally, it holds an array of `vehicleStops`, which are the stops assigned to the vehicle. The `init` and `new` methods are unavailable. All data is retrieved from the Fleet Engine.\n"],null,["GMTDDeliveryVehicle \n\n @interface GMTDDeliveryVehicle : ../Classes/GMTSImmutableData.html\n\nAn immutable object representing a delivery vehicle.\n- `\n ``\n ``\n `\n\n [vehicleID](#/c:objc(cs)GMTDDeliveryVehicle(py)vehicleID)`\n ` \n The ID of the vehicle. \n\n Declaration \n Swift \n\n var vehicleID: String { get }\n\n Objective-C \n\n @property (nonatomic, readonly) ../Type-Definitions/GMTDFleetEngineIDString.html *_Nonnull vehicleID;\n\n- `\n ``\n ``\n `\n\n [vehicleName](#/c:objc(cs)GMTDDeliveryVehicle(py)vehicleName)`\n ` \n The name of the vehicle. \n\n Declaration \n Swift \n\n var vehicleName: String { get }\n\n Objective-C \n\n @property (nonatomic, readonly) NSString *_Nonnull vehicleName;\n\n- `\n ``\n ``\n `\n\n [providerID](#/c:objc(cs)GMTDDeliveryVehicle(py)providerID)`\n ` \n The provider of the vehicle. \n\n Declaration \n Swift \n\n var providerID: String { get }\n\n Objective-C \n\n @property (nonatomic, readonly) NSString *_Nonnull providerID;\n\n- `\n ``\n ``\n `\n\n [vehicleStops](#/c:objc(cs)GMTDDeliveryVehicle(py)vehicleStops)`\n ` \n The stops assigned to this vehicle. \n\n Declaration \n Swift \n\n var vehicleStops: [../Classes/GMTDVehicleStop.html]? { get }\n\n Objective-C \n\n @property (nonatomic, readonly, nullable) NSArray\u003c../Classes/GMTDVehicleStop.html *\u003e *vehicleStops;\n\n- `\n ``\n ``\n `\n\n [-init](#/c:objc(cs)GMTDDeliveryVehicle(im)init)`\n ` \n Unavailable \n This class will only be initialized internally with response data from Fleet Engine. \n\n Declaration \n Objective-C \n\n - (nonnull instancetype)init;\n\n- `\n ``\n ``\n `\n\n [+new](#/c:objc(cs)GMTDDeliveryVehicle(cm)new)`\n ` \n Unavailable \n\n Declaration \n Objective-C \n\n + (instancetype)new NS_UNAVAILABLE;"]]