GoogleRidesharingDriver Framework Reference
GMTDVehicleState
enum GMTDVehicleState : NSInteger {}
Enum that represents the current vehicle state.
-
Declaration
Objective-C
GMTDVehicleStateOffline = 0
-
Declaration
Objective-C
GMTDVehicleStateOnline
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."],[[["The `GMTDVehicleState` enum represents the current state of a vehicle."],["`GMTDVehicleStateOffline` indicates the vehicle is offline and is represented by the integer value 0."],["`GMTDVehicleStateOnline` indicates the vehicle is online and is represented by the integer value 1."]]],["The `GMTDVehicleState` enum defines the current status of a vehicle. It has two possible states: `GMTDVehicleStateOffline`, represented by the integer 0, which indicates the vehicle is offline; and `GMTDVehicleStateOnline`, represented by the integer 1, indicating the vehicle is online. These states are defined using Swift and Objective-C syntax.\n"]]