Interface TelematicsChallengeGroupsRankingCallback


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

    • onTelematicsChallengeGroupsRankingFetched

      void onTelematicsChallengeGroupsRankingFetched(List<TelematicsChallengeGroupRanking> challengeGroupRankings)
      Called when the telematics challenge groups ranking is successfully fetched.
      Parameters:
      challengeGroupRankings - The TelematicsChallengeGroupRanking containing the retrieved challenge groups ranking data.
    • onError

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