Interface RiversTaskCallback
-
public interface RiversTaskCallback
Callback interface forRiversTask
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onRiversFailed(AerisError error)
This method will be called when a rivers request to the API has failed.void
onRiversLoaded(List<RiversResponse> responses)
This method will be called when a list of river data has been returned from the API.
-
-
-
Method Detail
-
onRiversLoaded
void onRiversLoaded(List<RiversResponse> responses)
This method will be called when a list of river data has been returned from the API.- Parameters:
responses
- List of responses
-
onRiversFailed
void onRiversFailed(AerisError error)
This method will be called when a rivers request to the API has failed.- Parameters:
error
- The aeris error regarding to the fail.
-
-