GMTDDriverContext Class Reference
Overview
An object containing the dependencies needed to construct a GMTDDriverApi
instance.
Inherits GMTSImmutableData.
Public Member Functions | |
(instancetype) | - initWithAccessTokenProvider:providerID:vehicleID:navigator: |
Initializes the Driver Context object. | |
Properties | |
id< GMTDAuthorization > | accessTokenProvider |
Object that provides access tokens for interacting with the Fleet Engine backend. | |
NSString * | providerID |
The ID for the Google Cloud project associated with the provider. | |
GMTDFleetEngineIDString * | vehicleID |
The ID associated with the vehicle. | |
GMSNavigator * | navigator |
The navigator associated with the GMSMapView . |
Member Function Documentation
- (instancetype) initWithAccessTokenProvider: | (id< GMTDAuthorization >) | accessTokenProvider | |
providerID: | (NSString *) | providerID | |
vehicleID: | (GMTDFleetEngineIDString *) | vehicleID | |
navigator: | (GMSNavigator *) | navigator | |
Initializes the Driver Context object.
- Parameters:
-
accessTokenProvider Object that provides access tokens for interacting with the Fleet Engine backend. providerID The ID for the Google Cloud project associated with the provider. vehicleID The ID associated with the vehicle. navigator The navigator associated with the GMSMapView
. Used to track navigation-related changes.
- Returns:
- An instance of the Driver Context.
Property Documentation
- (id<GMTDAuthorization>) accessTokenProvider [read, assign] |
Object that provides access tokens for interacting with the Fleet Engine backend.
- (NSString*) providerID [read, copy] |
The ID for the Google Cloud project associated with the provider.
- (GMTDFleetEngineIDString*) vehicleID [read, copy] |
The ID associated with the vehicle.
- (GMSNavigator*) navigator [read, assign] |
The navigator associated with the GMSMapView
.
Used to track navigation-related changes.