Page Summary
-
VehicleStop.VehicleStopStateis an annotation that indicates the current state of aVehicleStopwithin the Driver SDK. -
There are four possible states:
NEW,ENROUTE,ARRIVED, andUNSPECIFIED, represented by integer constants. -
NEWindicates theVehicleStophas been created but the driver isn't actively routing to it yet,ENROUTEmeans the driver is actively navigating to the stop, andARRIVEDsignifies the driver has reached the destination. -
UNSPECIFIEDis a default state for unrecognized or unspecifiedVehicleStopstates. -
The annotation inherits methods from
java.lang.annotation.Annotationfor reflection purposes, likeannotationType(),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.