RidesharingVehicleReporter.VehicleState

  • RidesharingVehicleReporter.VehicleState is an enum that indicates whether a vehicle is accepting new trips (ONLINE) or not (OFFLINE).

  • This state is independent of the vehicle's location reporting to Fleet Engine, which is managed by NavigationVehicleReporter.

  • RidesharingVehicleReporter.VehicleState inherits methods from Enum, Object, Constable, and Comparable for object manipulation and comparison.

  • The enum has two possible values: OFFLINE (not accepting trips) and ONLINE (accepting trips).

public static final enum RidesharingVehicleReporter.VehicleState extends Enum<RidesharingVehicleReporter.VehicleState>

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

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.