GoogleRidesharingDriver Framework Reference

Classes

The following classes are available globally.

  • An immutable object representing the context needed to fetch an auth token.

    Declaration

    Swift

      class 
     GMTDAuthorizationContext 
     : 
      GMTSImmutableData 
     
     
    

    Objective-C

      @interface 
     GMTDAuthorizationContext 
     : 
      GMTSImmutableData 
     
     
    
  • An immutable object representing a request to create a delivery task.

    Declaration

    Swift

      class 
     GMTDCreateDeliveryTaskRequest 
     : 
      GMTSImmutableData 
     
     
    

    Objective-C

      @interface 
     GMTDCreateDeliveryTaskRequest 
     : 
      GMTSImmutableData 
     
     
    
  • A class that provides access to all the core components and serves as the entry point for the Delivery vertical.

    Declaration

    Swift

      class 
     GMTDDeliveryDriverAPI 
     : 
      GMTDDriverAPI 
     
     
    

    Objective-C

      @interface 
     GMTDDeliveryDriverAPI 
     : 
      GMTDDriverAPI 
     
     
    
  • An immutable object that represents a unit of work completed at a vehicle stop.

    Declaration

    Swift

      class 
     GMTDDeliveryTask 
     : 
      GMTSTask 
     
     
    

    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.

    Declaration

    Swift

      class 
     GMTDDeliveryVehicle 
     : 
      GMTSImmutableData 
     
     
    

    Objective-C

      @interface 
     GMTDDeliveryVehicle 
     : 
      GMTSImmutableData 
     
     
    
  • 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.

    Declaration

    Swift

      class 
     GMTDDeliveryVehicleReporter 
     : 
      GMTDVehicleReporter 
     
     
    

    Objective-C

      @interface 
     GMTDDeliveryVehicleReporter 
     : 
      GMTDVehicleReporter 
     
     
    
  • 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.

    Declaration

    Swift

      class 
     GMTDDriverContext 
     : 
      GMTSImmutableData 
     
     
    

    Objective-C

      @interface 
     GMTDDriverContext 
     : 
      GMTSImmutableData 
     
     
    
  • An immutable object representing a task that will be completed at a vehicle stop.

    Declaration

    Swift

      class 
     GMTDTaskInfo 
     : 
      GMTSImmutableData 
     
     
    

    Objective-C

      @interface 
     GMTDTaskInfo 
     : 
      GMTSImmutableData 
     
     
    
  • An immutable object representing a request to update a delivery task.

    Declaration

    Swift

      class 
     GMTDUpdateDeliveryTaskRequest 
     : 
      GMTSImmutableData 
     
     
    

    Objective-C

      @interface 
     GMTDUpdateDeliveryTaskRequest 
     : 
      GMTSImmutableData 
     
     
    
  • 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.

    Declaration

    Swift

      class 
     GMTDVehicleStop 
     : 
      GMTSImmutableData 
     
     
    

    Objective-C

      @interface 
     GMTDVehicleStop 
     : 
      GMTSImmutableData 
     
     
    
  • 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.

    Declaration

    Swift

      class 
     GMTSTask 
     : 
      GMTSImmutableData 
     
     
    

    Objective-C

      @interface 
     GMTSTask 
     : 
      GMTSImmutableData 
     
     
    
Design a Mobile Site
View Site in Mobile | Classic
Share by: