Page Summary
-
RidesharingVehicleReporter.VehicleStateis 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.VehicleStateinherits methods fromEnum,Object,Constable, andComparablefor object manipulation and comparison. -
The enum has two possible values:
OFFLINE(not accepting trips) andONLINE(accepting trips).
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.