Package com.sentilant.telematicssdk
Interface TelematicsVehicleDetailsCallback
public interface TelematicsVehicleDetailsCallback
Callback interface for handling the result of a telematics vehicle details fetch operation.
Implement this interface to receive either the fetched vehicle details or an error when the operation fails.
-
Method Summary
Modifier and TypeMethodDescriptionvoidCalled when there is an error fetching the vehicle information.voidonTelematicsVehicleInfoFetched(TelematicsVehicleDetails vehicleInfo) Called when vehicle information is successfully fetched.
-
Method Details
-
onTelematicsVehicleInfoFetched
Called when vehicle information is successfully fetched.- Parameters:
vehicleInfo- TheTelematicsVehicleDetailsobject containing the vehicle's data.
-
onError
Called when there is an error fetching the vehicle information.- Parameters:
e- TheTelematicsSDKExceptionrepresenting the error encountered.
-