Interface TidesTaskCallback
-
public interface TidesTaskCallback
Callback interface forTidesTask
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onTidesFailed(AerisError error)
This method will be called when an tides request to the API has failed.void
onTidesLoaded(List<TidesResponse> responses)
This method will be called when a list of tides have been returned from the API.
-
-
-
Method Detail
-
onTidesLoaded
void onTidesLoaded(List<TidesResponse> responses)
This method will be called when a list of tides have been returned from the API.- Parameters:
responses
- List of responses
-
onTidesFailed
void onTidesFailed(AerisError error)
This method will be called when an tides request to the API has failed.- Parameters:
error
- The aeris error regarding to the fail.
-
-