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