Package xyz.titanecho.topgamesapi
Schnittstelle TopGamesCallback<T>
- Typparameter:
T- The type of the successful response data.
public interface TopGamesCallback<T>
A generic callback interface for handling asynchronous API responses.
-
Methodenübersicht
-
Methodendetails
-
onSuccess
Called when the API request succeeds.- Parameter:
result- The parsed response data.
-
onFailure
Called when the API request fails.- Parameter:
e- The exception that occurred.
-