Package com.sentilant.telematicssdk
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 Summary
Modifier and TypeMethodDescriptionvoidCalled when an error occurs while fetching the telematics challenge metrics.voidonTelematicsChallengeMetricsFetched(TelematicsChallengeMetrics challengeMetrics) Called when the telematics challenge metrics is successfully fetched.
-
Method Details
-
onTelematicsChallengeMetricsFetched
Called when the telematics challenge metrics is successfully fetched.- Parameters:
challengeMetrics- TheTelematicsChallengeMetricscontaining the retrieved challenge metrics data.
-
onError
Called when an error occurs while fetching the telematics challenge metrics.- Parameters:
e- TheTelematicsSDKExceptiondetailing the error that occurred.
-