Package com.sentilant.telematicssdk
Interface TelematicsMetricsSummaryCallback
public interface TelematicsMetricsSummaryCallback
Callback interface for handling the results of fetching a telematics metrics summary.
This interface provides methods to handle both successful retrieval of the metrics summary
and any errors that occur during the process.
-
Method Summary
Modifier and TypeMethodDescriptionvoidCalled when an error occurs while fetching the telematics metrics summary.voidonTelematicsMetricsSummaryFetched(TelematicsMetricsSummary metricsSummary) Called when the telematics metrics summary is successfully fetched.
-
Method Details
-
onTelematicsMetricsSummaryFetched
Called when the telematics metrics summary is successfully fetched.- Parameters:
metricsSummary- TheTelematicsMetricsSummarycontaining the retrieved metrics summary data.
-
onError
Called when an error occurs while fetching the telematics metrics summary.- Parameters:
e- TheTelematicsSDKExceptiondetailing the error that occurred.
-