Package com.sentilant.telematicssdk
Interface TelematicsTripCallback
public interface TelematicsTripCallback
Callback interface for receiving the results of a telematics trip fetch operation.
This interface provides methods to handle successful responses or errors when fetching trip details.
-
Method Summary
Modifier and TypeMethodDescriptionvoidCalled when an error occurs during the trip fetch operation.voidCalled when the details of a telematics trip are successfully fetched.
-
Method Details
-
onTelematicsTripFetched
Called when the details of a telematics trip are successfully fetched.- Parameters:
trip- The detailed information about the fetched trip, represented byTelematicsTripDetail.
-
onError
Called when an error occurs during the trip fetch operation.- Parameters:
e- The exception that was thrown during the operation, represented byTelematicsSDKException.
-