Package com.sentilant.telematicssdk
Interface TelematicsTripsCallback
public interface TelematicsTripsCallback
Callback interface for receiving the results of a telematics trips fetch operation.
This interface provides methods to handle successful responses or errors when fetching a list of trip summaries.
-
Method Summary
Modifier and TypeMethodDescriptionvoidCalled when an error occurs during the trips fetch operation.voidCalled when a list of telematics trip summaries is successfully fetched.
-
Method Details
-
onTelematicsTripsFetched
Called when a list of telematics trip summaries is successfully fetched.- Parameters:
trips- A list ofTelematicsTripResumeobjects, each representing a summary of a trip.
-
onError
Called when an error occurs during the trips fetch operation.- Parameters:
e- The exception that was thrown during the operation, represented byTelematicsSDKException.
-