Interface TelematicsTripsCallback


public interface TelematicsTripsCallback
Callback interface for receiving the results of a telematics trips fetch operation. This interface provides methods to handle successful responses or errors when fetching a list of trip summaries.
  • Method Details

    • onTelematicsTripsFetched

      void onTelematicsTripsFetched(List<TelematicsTripResume> trips)
      Called when a list of telematics trip summaries is successfully fetched.
      Parameters:
      trips - A list of TelematicsTripResume objects, each representing a summary of a trip.
    • onError

      void onError(TelematicsSDKException e)
      Called when an error occurs during the trips fetch operation.
      Parameters:
      e - The exception that was thrown during the operation, represented by TelematicsSDKException.