Page Summary
-
VehicleStop.VehicleStopStateis an annotation that represents the current state of a vehicle stop in the Driver SDK. -
It has four possible states:
NEW,ENROUTE,ARRIVED, andUNSPECIFIED, represented by integer constants. -
NEWindicates the stop is created but the driver is not routing to it;ENROUTEindicates active routing;ARRIVEDmeans the driver has reached the stop; andUNSPECIFIEDis the default or unrecognized state. -
It inherits methods from the
java.lang.annotation.Annotationinterface, such asannotationType(),equals(),hashCode(), andtoString().
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
Constants
public static final int ARRIVED
The driver has finished routing and arrived at the VehicleStop.
public static final int ENROUTE
The driver is actively routing to the VehicleStop.
public static final int NEW
The VehicleStop has been created but the driver is not actively routing to it.
public static final int UNSPECIFIED
Default, used for an unspecified or unrecognized VehicleStop state.