RidesharingVehicleReporter.VehicleState
Stay organized with collections
Save and categorize content based on your preferences.
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-07-31 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-07-31 UTC."],[[["`RidesharingVehicleReporter.VehicleState` is an enum that indicates a vehicle's trip acceptance status (online or offline)."],["It does not control location reporting; use `NavigationVehicleReporter` for that purpose."],["`OFFLINE` means the vehicle is not accepting trips, while `ONLINE` signifies trip acceptance."],["This enum inherits methods from `Enum`, `Object`, `Constable`, and `Comparable` for various functionalities."]]],["`RidesharingVehicleReporter.VehicleState` indicates whether a vehicle is accepting new trips (`ONLINE`) or not (`OFFLINE`). This state does not affect the vehicle's location reporting to Fleet Engine. Location reporting is managed via `NavigationVehicleReporter`. The class inherits methods for comparison, string representation, and others from `java.lang.Enum` and `java.lang.Object`. Additionally it has two states to be selected to indicate the state of the vehicle `OFFLINE` and `ONLINE`.\n"]]