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 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
  • A class that provide access to all the core components and serves as the entry point for the ridesharing use case.

    Declaration

    Swift

    class GMTDRidesharingDriverAPI : GMTDDriverAPI

    Objective-C

    @interface GMTDRidesharingDriverAPI : GMTDDriverAPI
  • 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>
  • 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>