Last Mile Fleet Solution is currently available only to select customers. Contact sales to learn more.

DeliveryVehicleReporter

Stay organized with collections Save and categorize content based on your preferences.
public abstract class DeliveryVehicleReporter extends NavigationVehicleReporter

Vehicle reporter for a delivery vehicle that reports location and stop information. An app is allowed only one vehicle reporter.

Public Method Summary

ListenableFuture<ImmutableList<VehicleStop>>
arrivedAtStop()
Signals that vehicle has arrived at the next scheduled stop.
ListenableFuture<ImmutableList<VehicleStop>>
completedStop()
Signals that all tasks associated with the current stop have been attempted or cancelled.
ListenableFuture<ImmutableList<VehicleStop>>
enrouteToNextStop()
Signals that vehicle has begun traveling towards the next scheduled stops.
ListenableFuture<ImmutableList<VehicleStop>>
getRemainingVehicleStops()
Gets the remaining vehicle stops.
ListenableFuture<ImmutableList<VehicleStop>>
setVehicleStops(List<VehicleStop> stops)
Provides a list of stops that vehicle is expected to visit in the given ordered, uninterrupted sequence.

Inherited Method Summary

Public Methods

public ListenableFuture<ImmutableList<VehicleStop>> arrivedAtStop ()

Signals that vehicle has arrived at the next scheduled stop.

Returns
  • Returns a Future that will provide the list of remaining stops.

public ListenableFuture<ImmutableList<VehicleStop>> completedStop ()

Signals that all tasks associated with the current stop have been attempted or cancelled.

Returns
  • Returns a Future that will provide the list of remaining stops.

public ListenableFuture<ImmutableList<VehicleStop>> enrouteToNextStop ()

Signals that vehicle has begun traveling towards the next scheduled stops.

Returns
  • Returns a Future that will provide the list of remaining stops. Includes the next stop until completedStop() is called.

public ListenableFuture<ImmutableList<VehicleStop>> getRemainingVehicleStops ()

Gets the remaining vehicle stops.

Returns
  • Returns a Future that will provide the list of remaining stops.

public ListenableFuture<ImmutableList<VehicleStop>> setVehicleStops (List<VehicleStop> stops)

Provides a list of stops that vehicle is expected to visit in the given ordered, uninterrupted sequence.

Returns
  • Returns a Future that will provide the list of remaining stops.