RidesharingVehicleReporter.VehicleState

  • RidesharingVehicleReporter.VehicleState is an enum that indicates a vehicle's trip acceptance status (online or offline).

  • It does not control location reporting; use NavigationVehicleReporter for that purpose.

  • OFFLINE means the vehicle is not accepting trips, while ONLINE signifies trip acceptance.

  • This enum inherits methods from Enum, Object, Constable, and Comparable for various functionalities.

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.