Interface TidesTaskCallback
-
public interface TidesTaskCallbackCallback interface forTidesTask.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonTidesFailed(AerisError error)This method will be called when an tides request to the API has failed.voidonTidesLoaded(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.
-
-