GoogleRidesharingDriver Framework Reference

  • GMTDVehicleState is an enumeration that represents the current state of a vehicle.

  • GMTDVehicleReporterErrorCode is an enumeration containing error codes associated with GMTDVehicleReporter.

  • Both enumerations, GMTDVehicleState and GMTDVehicleReporterErrorCode, are globally available and are declared as integers in both Swift and Objective-C.

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 {}