GoogleRidesharingDriver Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
Classes
The following classes are available globally.
-
An immutable object representing the context needed to fetch an auth token.
-
An immutable object representing a request to create a delivery task.
-
A class that provides access to all the core components and serves as the entry
point for the Delivery vertical.
-
An immutable object that represents a unit of work completed at a vehicle stop.
Declaration
Objective-C
@interface
GMTDDeliveryTask
:
GMTSTask
-
Object that manages task creation and updates.
Declaration
Swift
class
GMTDDeliveryTaskManager
:
NSObject
Objective-C
@interface
GMTDDeliveryTaskManager
:
NSObject
-
An immutable object representing a delivery vehicle.
-
Class used to create and retrieve delivery vehicles from Fleet Engine
Declaration
Swift
class
GMTDDeliveryVehicleManager
:
NSObject
Objective-C
@interface
GMTDDeliveryVehicleManager
:
NSObject
-
Object for sending information to the Fleet Engine backend. Used for deliveries.
-
An abstract superclass for the Driver SDK API classes.
Declaration
Swift
class
GMTDDriverAPI
:
NSObject
,
NSCopying
Objective-C
@interface
GMTDDriverAPI
:
NSObject
<
NSCopying
>
-
An object containing the dependencies needed to construct a GMTDDriverApi
instance.
-
An immutable object representing a task that will be completed at a vehicle stop.
-
An immutable object representing a request to update a delivery task.
-
Object for sending information to the Fleet Engine backend.
Use this class only from the main thread.
Declaration
Swift
class
GMTDVehicleReporter
:
NSObject
,
GMSNavigatorListener
,
GMSRoadSnappedLocationProviderListener
Objective-C
@interface
GMTDVehicleReporter
:
NSObject
<
GMSNavigatorListener
,
GMSRoadSnappedLocationProviderListener
>
-
An object representing a vehicle stop for deliveries.
-
Object representing a vehicle update.
Declaration
Swift
class
GMTDVehicleUpdate
:
NSObject
,
NSCopying
Objective-C
@interface
GMTDVehicleUpdate
:
NSObject
<
NSCopying
>
-
A base class of immutable data, subclass must implement the isEqual:
and hash
of the NSObject
protocol.
Declaration
Swift
class
GMTSImmutableData
:
NSObject
,
NSCopying
,
NSSecureCoding
Objective-C
@interface
GMTSImmutableData
:
NSObject
<
NSCopying
,
NSSecureCoding
>
-
An immutable object representing a unit of work that is completed at a vehicle stop.
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.
[[["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-08-27 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eGMTDDeliveryDriverAPI\u003c/code\u003e class is the central entry point for accessing core components within the Delivery vertical.\u003c/p\u003e\n"],["\u003cp\u003eSeveral immutable objects are defined for managing delivery operations, including \u003ccode\u003eGMTDCreateDeliveryTaskRequest\u003c/code\u003e, \u003ccode\u003eGMTDDeliveryTask\u003c/code\u003e, \u003ccode\u003eGMTDUpdateDeliveryTaskRequest\u003c/code\u003e, and \u003ccode\u003eGMTDTaskInfo\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eClasses like \u003ccode\u003eGMTDDeliveryVehicle\u003c/code\u003e and \u003ccode\u003eGMTDDeliveryVehicleManager\u003c/code\u003e are available for managing delivery vehicles within the system.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGMTDVehicleReporter\u003c/code\u003e and \u003ccode\u003eGMTDDeliveryVehicleReporter\u003c/code\u003e classes handle sending information to the Fleet Engine backend.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGMTSImmutableData\u003c/code\u003e serves as a base class for immutable data objects, ensuring they adhere to the \u003ccode\u003eisEqual:\u003c/code\u003e and \u003ccode\u003ehash\u003c/code\u003e methods of the \u003ccode\u003eNSObject\u003c/code\u003e protocol.\u003c/p\u003e\n"]]],[],null,["# GoogleRidesharingDriver Framework Reference\n\nClasses\n=======\n\nThe following classes are available globally.\n- `\n ``\n ``\n `\n\n ### [GMTDAuthorizationContext](/maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Classes/GMTDAuthorizationContext)\n\n `\n ` \n An immutable object representing the context needed to fetch an auth token. \n\n #### Declaration\n\n Swift \n\n class GMTDAuthorizationContext : /maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Classes/GMTSImmutableData\n\n Objective-C \n\n @interface GMTDAuthorizationContext : /maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Classes/GMTSImmutableData\n\n- `\n ``\n ``\n `\n\n ### [GMTDCreateDeliveryTaskRequest](/maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Classes/GMTDCreateDeliveryTaskRequest)\n\n `\n ` \n An immutable object representing a request to create a delivery task. \n\n #### Declaration\n\n Swift \n\n class GMTDCreateDeliveryTaskRequest : /maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Classes/GMTSImmutableData\n\n Objective-C \n\n @interface GMTDCreateDeliveryTaskRequest : /maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Classes/GMTSImmutableData\n\n- `\n ``\n ``\n `\n\n ### [GMTDDeliveryDriverAPI](/maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Classes/GMTDDeliveryDriverAPI)\n\n `\n ` \n A class that provides access to all the core components and serves as the entry\n point for the Delivery vertical. \n\n #### Declaration\n\n Swift \n\n class GMTDDeliveryDriverAPI : /maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Classes/GMTDDriverAPI\n\n Objective-C \n\n @interface GMTDDeliveryDriverAPI : /maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Classes/GMTDDriverAPI\n\n- `\n ``\n ``\n `\n\n ### [GMTDDeliveryTask](/maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Classes/GMTDDeliveryTask)\n\n `\n ` \n An immutable object that represents a unit of work completed at a vehicle stop. \n\n #### Declaration\n\n Swift \n\n class GMTDDeliveryTask : /maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Classes/GMTSTask\n\n Objective-C \n\n @interface GMTDDeliveryTask : /maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Classes/GMTSTask\n\n- `\n ``\n ``\n `\n\n ### [GMTDDeliveryTaskManager](/maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Classes/GMTDDeliveryTaskManager)\n\n `\n ` \n Object that manages task creation and updates. \n\n #### Declaration\n\n Swift \n\n class GMTDDeliveryTaskManager : NSObject\n\n Objective-C \n\n @interface GMTDDeliveryTaskManager : NSObject\n\n- `\n ``\n ``\n `\n\n ### [GMTDDeliveryVehicle](/maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Classes/GMTDDeliveryVehicle)\n\n `\n ` \n An immutable object representing a delivery vehicle. \n\n #### Declaration\n\n Swift \n\n class GMTDDeliveryVehicle : /maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Classes/GMTSImmutableData\n\n Objective-C \n\n @interface GMTDDeliveryVehicle : /maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Classes/GMTSImmutableData\n\n- `\n ``\n ``\n `\n\n ### [GMTDDeliveryVehicleManager](/maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Classes/GMTDDeliveryVehicleManager)\n\n `\n ` \n Class used to create and retrieve delivery vehicles from Fleet Engine \n\n #### Declaration\n\n Swift \n\n class GMTDDeliveryVehicleManager : NSObject\n\n Objective-C \n\n @interface GMTDDeliveryVehicleManager : NSObject\n\n- `\n ``\n ``\n `\n\n ### [GMTDDeliveryVehicleReporter](/maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Classes/GMTDDeliveryVehicleReporter)\n\n `\n ` \n Object for sending information to the Fleet Engine backend. Used for deliveries. \n\n #### Declaration\n\n Swift \n\n class GMTDDeliveryVehicleReporter : /maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Classes/GMTDVehicleReporter\n\n Objective-C \n\n @interface GMTDDeliveryVehicleReporter : /maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Classes/GMTDVehicleReporter\n\n- `\n ``\n ``\n `\n\n ### [GMTDDriverAPI](/maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Classes/GMTDDriverAPI)\n\n `\n ` \n An abstract superclass for the Driver SDK API classes. \n\n #### Declaration\n\n Swift \n\n class GMTDDriverAPI : NSObject, NSCopying\n\n Objective-C \n\n @interface GMTDDriverAPI : NSObject \u003cNSCopying\u003e\n\n- `\n ``\n ``\n `\n\n ### [GMTDDriverContext](/maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Classes/GMTDDriverContext)\n\n `\n ` \n An object containing the dependencies needed to construct a `GMTDDriverApi` instance. \n\n #### Declaration\n\n Swift \n\n class GMTDDriverContext : /maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Classes/GMTSImmutableData\n\n Objective-C \n\n @interface GMTDDriverContext : /maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Classes/GMTSImmutableData\n\n- `\n ``\n ``\n `\n\n ### [GMTDTaskInfo](/maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Classes/GMTDTaskInfo)\n\n `\n ` \n An immutable object representing a task that will be completed at a vehicle stop. \n\n #### Declaration\n\n Swift \n\n class GMTDTaskInfo : /maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Classes/GMTSImmutableData\n\n Objective-C \n\n @interface GMTDTaskInfo : /maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Classes/GMTSImmutableData\n\n- `\n ``\n ``\n `\n\n ### [GMTDUpdateDeliveryTaskRequest](/maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Classes/GMTDUpdateDeliveryTaskRequest)\n\n `\n ` \n An immutable object representing a request to update a delivery task. \n\n #### Declaration\n\n Swift \n\n class GMTDUpdateDeliveryTaskRequest : /maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Classes/GMTSImmutableData\n\n Objective-C \n\n @interface GMTDUpdateDeliveryTaskRequest : /maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Classes/GMTSImmutableData\n\n- `\n ``\n ``\n `\n\n ### [GMTDVehicleReporter](/maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Classes/GMTDVehicleReporter)\n\n `\n ` \n Object for sending information to the Fleet Engine backend.\n\n Use this class only from the main thread. \n\n #### Declaration\n\n Swift \n\n class GMTDVehicleReporter : NSObject, GMSNavigatorListener, GMSRoadSnappedLocationProviderListener\n\n Objective-C \n\n @interface GMTDVehicleReporter\n : NSObject \u003cGMSNavigatorListener, GMSRoadSnappedLocationProviderListener\u003e\n\n- `\n ``\n ``\n `\n\n ### [GMTDVehicleStop](/maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Classes/GMTDVehicleStop)\n\n `\n ` \n An object representing a vehicle stop for deliveries. \n\n #### Declaration\n\n Swift \n\n class GMTDVehicleStop : /maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Classes/GMTSImmutableData\n\n Objective-C \n\n @interface GMTDVehicleStop : /maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Classes/GMTSImmutableData\n\n- `\n ``\n ``\n `\n\n ### [GMTDVehicleUpdate](/maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Classes/GMTDVehicleUpdate)\n\n `\n ` \n Object representing a vehicle update. \n\n #### Declaration\n\n Swift \n\n class GMTDVehicleUpdate : NSObject, NSCopying\n\n Objective-C \n\n @interface GMTDVehicleUpdate : NSObject \u003cNSCopying\u003e\n\n- `\n ``\n ``\n `\n\n ### [GMTSImmutableData](/maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Classes/GMTSImmutableData)\n\n `\n ` \n A base class of immutable data, subclass must implement the `isEqual:` and `hash` of the\n `NSObject` protocol. \n\n #### Declaration\n\n Swift \n\n class GMTSImmutableData : NSObject, NSCopying, NSSecureCoding\n\n Objective-C \n\n @interface GMTSImmutableData : NSObject \u003cNSCopying, NSSecureCoding\u003e\n\n- `\n ``\n ``\n `\n\n ### [GMTSTask](/maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Classes/GMTSTask)\n\n `\n ` \n An immutable object representing a unit of work that is completed at a vehicle stop. \n\n #### Declaration\n\n Swift \n\n class GMTSTask : /maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Classes/GMTSImmutableData\n\n Objective-C \n\n @interface GMTSTask : /maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Classes/GMTSImmutableData"]]