VehicleStop.VehicleStopState
Stay organized with collections
Save and categorize content based on your preferences.
The current state of a VehicleStop.
Constant Summary
int |
ARRIVED
|
The driver has finished routing and arrived at
the VehicleStop. |
int |
ENROUTE
|
The driver is actively routing to the
VehicleStop. |
int |
NEW
|
The VehicleStop has been created but the driver
is not actively routing to it. |
int |
UNSPECIFIED
|
Default, used for an unspecified or unrecognized
VehicleStop state. |
Inherited Method Summary
From interface java.lang.annotation.Annotation
abstract Class<? extends Annotation>
|
annotationType()
|
abstract boolean |
|
abstract int |
hashCode()
|
abstract String
|
toString()
|
Constants
public static final int
ARRIVED
The driver has finished routing and arrived at the VehicleStop.
Constant Value: 3
public static final int
ENROUTE
The driver is actively routing to the VehicleStop.
Constant Value: 2
public static final int
NEW
The VehicleStop has been created but the driver is not actively routing to it.
Constant Value: 1
public static final int
UNSPECIFIED
Default, used for an unspecified or unrecognized VehicleStop state.
Constant Value: 0
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."],[[["`VehicleStop.VehicleStopState` is an annotation that indicates the current state of a `VehicleStop`."],["It defines four states: `NEW`, `ENROUTE`, `ARRIVED`, and `UNSPECIFIED`."],["`NEW` means the `VehicleStop` was created, but the driver isn't routing to it yet."],["`ENROUTE` means the driver is actively navigating towards the `VehicleStop`."],["`ARRIVED` means the driver has completed the route and reached the `VehicleStop`."]]],["`VehicleStop.VehicleStopState` defines the current status of a vehicle stop. The states are: `ARRIVED` (driver has reached the stop), `ENROUTE` (driver is actively navigating to the stop), `NEW` (stop is created but not yet being routed to), and `UNSPECIFIED` (default state when the status is unknown). These states are represented by integer constants. It also implement Annotation interface with the associated methods: `annotationType`, `equals`, `hashCode` and `toString`.\n"]]