GoogleRidesharingConsumer Framework Reference
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-01-21 UTC.
[null,null,["Last updated 2025-01-21 UTC."],[[["This page defines the `GMTSVehicleState` enum, which is used to represent the different states of a vehicle."],["`GMTSVehicleStateUnknown` is a state represented by the value 0 and denotes an unknown vehicle state."],["`GMTSVehicleStateOffline` is a state represented by the value 1, indicating that the vehicle is offline."],["`GMTSVehicleStateOnline` is a state represented by the value 2 and indicates that the vehicle is online."]]],["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"]]