AI-generated Key Takeaways
-
This document details several globally available enumerations for the Driver SDK, each providing specific information or states.
-
GMTDVehicleState
represents the various states a vehicle can be in, and is defined as an integer. -
GMTDVehicleReporterErrorCode
lists error codes that can be returned byGMTDVehicleReporter
, and is also defined as an integer. -
GMTDVehicleStopState
defines all the possible states for aVehicleStop
,GMTSTaskState
defines all the possible task states, and both use an unsigned integer for their type. -
GMTSTaskOutcome
,GMTSTaskOutcomeLocationSource
, andGMTSTaskType
each provide enumerations related to task outcomes, location sources, and types, using unsigned and signed integers respectively.
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 {}
-
The error codes for
GMTDVehicleReporter
.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 {}