com.google.android.libraries.mapsplatform.transportation.driver.api.base.data

  • This documentation details annotations, interfaces, classes, and enums for the Driver SDK.

  • The Driver SDK provides tools for managing tasks, vehicle stops, and driver/vehicle statuses within the Last Mile Fleet Solution system.

  • AuthTokenContext and DriverContext are key classes for managing authorization and driver dependencies.

  • Task and VehicleStop objects are central to tracking and managing driver activities.

  • Various listener interfaces provide real-time updates on driver and system statuses.

Annotations

Task.TaskOutcome The outcome of an attempt to execute a task. 
Task.TaskState The state of a Task indicating its progression. 
Task.TaskType The type of a Task. 
VehicleStop.VehicleStopState The current state of a VehicleStop. 

Interfaces

AuthTokenContext.AuthTokenFactory Instances of this interface will be asked to provide an authorization token when various operations are performed. 
DriverContext.DriverStatusListener Listener for status updates with the capability of getting the cause of an error log. 
DriverContext.StatusListener Listener for status updates. 

Classes

AuthTokenContext The AuthTokenContext class encapsulates the state needed to generate an auth token for a given request and is provided when AuthTokenFactory#getToken is called. 
AuthTokenContext.Builder Builder for AuthTokenContext. 
BaseVehicle Base representation of a vehicle. 
DriverContext DriverContext provides the dependencies needed to construct a DriverApi instance. 
DriverContext.Builder Builder for DriverContext. 
Task A task represents a single action to track in the Last Mile Fleet Solution system. 
TaskInfo Describes a task that the driver will perform. 
TaskInfo.Builder Builder class for TaskInfo  
VehicleStop Describes a stop that the vehicle will be visiting. 
VehicleStop.Builder Builder class for VehicleStop. 

Enums

DriverContext.DriverStatusListener.StatusCode The status codes of the status update. 
DriverContext.DriverStatusListener.StatusLevel The severity levels of the status update. 
DriverContext.StatusListener.StatusCode The status codes of the status update. 
DriverContext.StatusListener.StatusLevel The severity levels of the status update.