GoogleRidesharingConsumer Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
GMTSVehicleState
enum GMTSVehicleState : NSUInteger {}
Enum that defines all vehicle states.
-
Declaration
Objective-C
GMTSVehicleStateUnknown
-
Declaration
Objective-C
GMTSVehicleStateOffline
-
Declaration
Objective-C
GMTSVehicleStateOnline
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.
[null,null,["Last updated 2025-08-27 UTC."],[],["The `GMTSVehicleState` enum defines the possible states of a vehicle. These states, represented as unsigned integers, include `unknown` (value 0), indicating an undefined state. `offline` (value 1) means the vehicle is not connected or available. `online` (value 2) signifies that the vehicle is active and accessible. Each state is represented in both Swift (case) and Objective-C (value) programming languages.\n"],null,[]]