Page Summary
-
GMTDAuthorizationContextis an immutable object that provides the necessary context for retrieving an authentication token. -
GMTDDriverAPIserves as an abstract superclass for the Driver SDK API classes. -
GMTDDriverContextcontains the dependencies needed to create aGMTDDriverApiinstance. -
GMTDRidesharingDriverAPIoffers core components and serves as the main entry point for ridesharing operations. -
GMTDVehicleReporteris used to send information to the Fleet Engine backend, and should only be used from the main thread.
Classes
The following classes are available globally.
-
An immutable object representing the context needed to fetch an auth token.
Declaration
Swift
class GMTDAuthorizationContext : GMTSImmutableDataObjective-C
@interface GMTDAuthorizationContext : GMTSImmutableData -
An abstract superclass for the Driver SDK API classes.
Declaration
Swift
class GMTDDriverAPI : NSObject , NSCopyingObjective-C
@interface GMTDDriverAPI : NSObject < NSCopying > -
An object containing the dependencies needed to construct a
GMTDDriverApiinstance.Declaration
Swift
class GMTDDriverContext : GMTSImmutableDataObjective-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 : GMTDDriverAPIObjective-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 , GMSRoadSnappedLocationProviderListenerObjective-C
@interface GMTDVehicleReporter : NSObject < GMSNavigatorListener , GMSRoadSnappedLocationProviderListener > -
Object representing a vehicle update.
Declaration
Swift
class GMTDVehicleUpdate : NSObject , NSCopyingObjective-C
@interface GMTDVehicleUpdate : NSObject < NSCopying > -
A base class of immutable data, subclass must implement the
isEqual:andhashof theNSObjectprotocol.Declaration
Swift
class GMTSImmutableData : NSObject , NSCopying , NSSecureCodingObjective-C
@interface GMTSImmutableData : NSObject < NSCopying , NSSecureCoding >

