GoogleRidesharingDriver Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
Enumerations
The following enumerations are available globally.
-
Enum that represents the current vehicle state.
Declaration
Swift
enum
GMTDVehicleState
:
Int
,
@unchecked
Sendable
Objective-C
enum
GMTDVehicleState
:
NSInteger
{}
-
Declaration
Swift
enum
GMTDVehicleReporterErrorCode
:
Int
,
@unchecked
Sendable
Objective-C
enum
GMTDVehicleReporterErrorCode
:
NSInteger
{}
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\u003e\u003ccode\u003eGMTDVehicleState\u003c/code\u003e is an enumeration that represents the current state of a vehicle.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGMTDVehicleReporterErrorCode\u003c/code\u003e is an enumeration containing error codes associated with \u003ccode\u003eGMTDVehicleReporter\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eBoth enumerations, \u003ccode\u003eGMTDVehicleState\u003c/code\u003e and \u003ccode\u003eGMTDVehicleReporterErrorCode\u003c/code\u003e, are globally available and are declared as integers in both Swift and Objective-C.\u003c/p\u003e\n"]]],[],null,["# GoogleRidesharingDriver Framework Reference\n\nEnumerations\n============\n\nThe following enumerations are available globally.\n- `\n ``\n ``\n `\n\n ### [GMTDVehicleState](/maps/documentation/mobility/driver-sdk/on-demand/reference/ios/Enums/GMTDVehicleState)\n\n `\n ` \n Enum that represents the current vehicle state. \n\n #### Declaration\n\n Swift \n\n enum GMTDVehicleState : Int, @unchecked Sendable\n\n Objective-C \n\n enum GMTDVehicleState : NSInteger {}\n\n- `\n ``\n ``\n `\n\n ### [GMTDVehicleReporterErrorCode](/maps/documentation/mobility/driver-sdk/on-demand/reference/ios/Enums/GMTDVehicleReporterErrorCode)\n\n `\n ` \n The error codes for [GMTDVehicleReporter](/maps/documentation/mobility/driver-sdk/on-demand/reference/ios/Classes/GMTDVehicleReporter). \n\n #### Declaration\n\n Swift \n\n enum GMTDVehicleReporterErrorCode : Int, @unchecked Sendable\n\n Objective-C \n\n enum GMTDVehicleReporterErrorCode : NSInteger {}"]]