RidesharingVehicleReporter.VehicleState
Indicates whether a vehicle is accepting new trips. Has no bearing on whether a vehicle is
reporting its location to Fleet Engine. To enable/disable location reporting see:
NavigationVehicleReporter
Inherited Method Summary
From class java.lang.Enum
From class java.lang.Object
Object
|
clone()
|
boolean |
|
void |
finalize()
|
final Class<?>
|
getClass()
|
int |
hashCode()
|
final void |
notify()
|
final void |
notifyAll()
|
String
|
toString()
|
final void |
wait(long arg0, int arg1)
|
final void |
wait(long arg0)
|
final void |
wait()
|
From interface java.lang.constant.Constable
abstract Optional<? extends ConstantDesc>
|
describeConstable()
|
From interface java.lang.Comparable
Enum Values
public static final
RidesharingVehicleReporter.VehicleState OFFLINE
Indicates the vehicle is not accepting new trips.
public static final
RidesharingVehicleReporter.VehicleState ONLINE
Indicates the vehicle is accepting new trips.
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 2024-11-25 UTC.
[null,null,["Last updated 2024-11-25 UTC."],[[["`RidesharingVehicleReporter.VehicleState` is an enum that indicates whether a vehicle is accepting new trips (ONLINE) or not (OFFLINE)."],["This state is independent of the vehicle's location reporting to Fleet Engine, which is managed by `NavigationVehicleReporter`."],["`RidesharingVehicleReporter.VehicleState` inherits methods from `Enum`, `Object`, `Constable`, and `Comparable` for object manipulation and comparison."],["The enum has two possible values: `OFFLINE` (not accepting trips) and `ONLINE` (accepting trips)."]]],[]]