Interface TelematicsTripCallback


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

    • onTelematicsTripFetched

      void onTelematicsTripFetched(TelematicsTripDetail trip)
      Called when the details of a telematics trip are successfully fetched.
      Parameters:
      trip - The detailed information about the fetched trip, represented by TelematicsTripDetail.
    • onError

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