Interface TelematicsChallengesCallback


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

    • onTelematicsChallengesFetched

      void onTelematicsChallengesFetched(List<TelematicsChallenge> challenges)
      Called when a list of challenges is successfully fetched.
      Parameters:
      challenges - A list of TelematicsChallenge objects, each representing the challenges.
    • onError

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