Interface TelematicsMetricsSummaryCallback


public interface TelematicsMetricsSummaryCallback
Callback interface for handling the results of fetching a telematics metrics summary. This interface provides methods to handle both successful retrieval of the metrics summary and any errors that occur during the process.
  • Method Details

    • onTelematicsMetricsSummaryFetched

      void onTelematicsMetricsSummaryFetched(TelematicsMetricsSummary metricsSummary)
      Called when the telematics metrics summary is successfully fetched.
      Parameters:
      metricsSummary - The TelematicsMetricsSummary containing the retrieved metrics summary data.
    • onError

      void onError(TelematicsSDKException e)
      Called when an error occurs while fetching the telematics metrics summary.
      Parameters:
      e - The TelematicsSDKException detailing the error that occurred.