# GoogleRidesharingConsumer Framework Reference

# GMTSVehicleState

    enum GMTSVehicleState : NSUInteger {}

Enum that defines all vehicle states.
- `


  ### [GMTSVehicleStateUnknown](https://developers.google.com/maps/documentation/mobility/journey-sharing/on-demand/reference/ios/Enums/GMTSVehicleState#/c:@E@GMTSVehicleState@GMTSVehicleStateUnknown)


  `

  #### Declaration

  Swift

      case unknown = 0

  Objective-C

      GMTSVehicleStateUnknown

- `


  ### [GMTSVehicleStateOffline](https://developers.google.com/maps/documentation/mobility/journey-sharing/on-demand/reference/ios/Enums/GMTSVehicleState#/c:@E@GMTSVehicleState@GMTSVehicleStateOffline)


  `

  #### Declaration

  Swift

      case offline = 1

  Objective-C

      GMTSVehicleStateOffline

- `


  ### [GMTSVehicleStateOnline](https://developers.google.com/maps/documentation/mobility/journey-sharing/on-demand/reference/ios/Enums/GMTSVehicleState#/c:@E@GMTSVehicleState@GMTSVehicleStateOnline)


  `

  #### Declaration

  Swift

      case online = 2

  Objective-C

      GMTSVehicleStateOnline