Interface TelematicsChallengeMetricsCallback


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

    • onTelematicsChallengeMetricsFetched

      void onTelematicsChallengeMetricsFetched(TelematicsChallengeMetrics challengeMetrics)
      Called when the telematics challenge metrics is successfully fetched.
      Parameters:
      challengeMetrics - The TelematicsChallengeMetrics containing the retrieved challenge metrics data.
    • onError

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