Package com.sentilant.telematicssdk
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 Summary
Modifier and TypeMethodDescriptionvoidCalled when an error occurs during the challenges fetch operation.voidonTelematicsChallengesFetched(List<TelematicsChallenge> challenges) Called when a list of challenges is successfully fetched.
-
Method Details
-
onTelematicsChallengesFetched
Called when a list of challenges is successfully fetched.- Parameters:
challenges- A list ofTelematicsChallengeobjects, each representing the challenges.
-
onError
Called when an error occurs during the challenges fetch operation.- Parameters:
e- The exception that was thrown during the operation, represented byTelematicsSDKException.
-