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
{}
-
Enum representing all possible VehicleStop states.
Declaration
Swift
enum
GMTDVehicleStopState
:
UInt
,
@unchecked
Sendable
Objective-C
enum
GMTDVehicleStopState
:
NSUInteger
{}
-
\defgroup GMTSTaskState GMTSTaskState
@{
Declaration
Swift
enum
GMTSTaskState
:
UInt
,
@unchecked
Sendable
Objective-C
enum
GMTSTaskState
:
NSUInteger
{}
-
\defgroup GMTSTaskOutcome GMTSTaskOutcome
@{
Declaration
Swift
enum
GMTSTaskOutcome
:
UInt
,
@unchecked
Sendable
Objective-C
enum
GMTSTaskOutcome
:
NSUInteger
{}
-
\defgroup GMTSTaskOutcomeLocationSource GMTSTaskOutcomeLocationSource
@{
Declaration
Swift
enum
GMTSTaskOutcomeLocationSource
:
Int
,
@unchecked
Sendable
Objective-C
enum
GMTSTaskOutcomeLocationSource
:
NSInteger
{}
-
\defgroup GMTSTaskType GMTSTaskType
@{
Declaration
Swift
enum
GMTSTaskType
:
UInt
,
@unchecked
Sendable
Objective-C
enum
GMTSTaskType
:
NSUInteger
{}
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\u003eThis document details several globally available enumerations for the Driver SDK, each providing specific information or states.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGMTDVehicleState\u003c/code\u003e represents the various states a vehicle can be in, and is defined as an integer.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGMTDVehicleReporterErrorCode\u003c/code\u003e lists error codes that can be returned by \u003ccode\u003eGMTDVehicleReporter\u003c/code\u003e, and is also defined as an integer.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGMTDVehicleStopState\u003c/code\u003e defines all the possible states for a \u003ccode\u003eVehicleStop\u003c/code\u003e, \u003ccode\u003eGMTSTaskState\u003c/code\u003e defines all the possible task states, and both use an unsigned integer for their type.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGMTSTaskOutcome\u003c/code\u003e, \u003ccode\u003eGMTSTaskOutcomeLocationSource\u003c/code\u003e, and \u003ccode\u003eGMTSTaskType\u003c/code\u003e each provide enumerations related to task outcomes, location sources, and types, using unsigned and signed integers respectively.\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/scheduled/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/scheduled/reference/ios/Enums/GMTDVehicleReporterErrorCode)\n\n `\n ` \n The error codes for [GMTDVehicleReporter](/maps/documentation/mobility/driver-sdk/scheduled/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 {}\n\n- `\n ``\n ``\n `\n\n ### [GMTDVehicleStopState](/maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Enums/GMTDVehicleStopState)\n\n `\n ` \n Enum representing all possible VehicleStop states. \n\n #### Declaration\n\n Swift \n\n enum GMTDVehicleStopState : UInt, @unchecked Sendable\n\n Objective-C \n\n enum GMTDVehicleStopState : NSUInteger {}\n\n- `\n ``\n ``\n `\n\n ### [GMTSTaskState](/maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Enums/GMTSTaskState)\n\n `\n ` \n \\\\defgroup GMTSTaskState GMTSTaskState\n @{ \n\n #### Declaration\n\n Swift \n\n enum GMTSTaskState : UInt, @unchecked Sendable\n\n Objective-C \n\n enum GMTSTaskState : NSUInteger {}\n\n- `\n ``\n ``\n `\n\n ### [GMTSTaskOutcome](/maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Enums/GMTSTaskOutcome)\n\n `\n ` \n \\\\defgroup GMTSTaskOutcome GMTSTaskOutcome\n @{ \n\n #### Declaration\n\n Swift \n\n enum GMTSTaskOutcome : UInt, @unchecked Sendable\n\n Objective-C \n\n enum GMTSTaskOutcome : NSUInteger {}\n\n- `\n ``\n ``\n `\n\n ### [GMTSTaskOutcomeLocationSource](/maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Enums/GMTSTaskOutcomeLocationSource)\n\n `\n ` \n \\\\defgroup GMTSTaskOutcomeLocationSource GMTSTaskOutcomeLocationSource\n @{ \n\n #### Declaration\n\n Swift \n\n enum GMTSTaskOutcomeLocationSource : Int, @unchecked Sendable\n\n Objective-C \n\n enum GMTSTaskOutcomeLocationSource : NSInteger {}\n\n- `\n ``\n ``\n `\n\n ### [GMTSTaskType](/maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Enums/GMTSTaskType)\n\n `\n ` \n \\\\defgroup GMTSTaskType GMTSTaskType\n @{ \n\n #### Declaration\n\n Swift \n\n enum GMTSTaskType : UInt, @unchecked Sendable\n\n Objective-C \n\n enum GMTSTaskType : NSUInteger {}"]]