Interface RiversGaugesTaskCallback
-
public interface RiversGaugesTaskCallback
Callback interface forRiversGaugesTask
.
-
-
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<RiversGaugesResponse> responses)
This method will be called when a list of rivers gauges data has been returned from the API.
-
-
-
Method Detail
-
onRiversLoaded
void onRiversLoaded(List<RiversGaugesResponse> responses)
This method will be called when a list of rivers gauges 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.
-
-