VehicleStop.VehicleStopState

  • VehicleStop.VehicleStopState is an annotation that indicates the current state of a VehicleStop.

  • It defines four states: NEW, ENROUTE, ARRIVED, and UNSPECIFIED, represented by integer constants.

  • NEW signifies that the VehicleStop is created but the driver hasn't started routing.

  • ENROUTE indicates active navigation to the VehicleStop by the driver.

  • ARRIVED confirms the driver's arrival at the VehicleStop after completing the route.

  • UNSPECIFIED serves as the default for unknown or unrecognized VehicleStop states.

public static abstract @interface VehicleStop.VehicleStopState implements Annotation

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.

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