Package com.sentilant.telematicssdk
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 Summary
Modifier and TypeMethodDescriptionvoidCalled when an error occurs while fetching the telematics challenge groups ranking.voidonTelematicsChallengeGroupsRankingFetched(List<TelematicsChallengeGroupRanking> challengeGroupRankings) Called when the telematics challenge groups ranking is successfully fetched.
-
Method Details
-
onTelematicsChallengeGroupsRankingFetched
void onTelematicsChallengeGroupsRankingFetched(List<TelematicsChallengeGroupRanking> challengeGroupRankings) Called when the telematics challenge groups ranking is successfully fetched.- Parameters:
challengeGroupRankings- TheTelematicsChallengeGroupRankingcontaining the retrieved challenge groups ranking data.
-
onError
Called when an error occurs while fetching the telematics challenge groups ranking.- Parameters:
e- TheTelematicsSDKExceptiondetailing the error that occurred.
-