Interface MoonphasesTaskCallback
-
public interface MoonphasesTaskCallbackCallback interface forMoonphasesTask.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonMoonphasesFailed(AerisError error)This method will be called when an moon phases request to the API has failed.voidonMoonphasesLoaded(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.
-
-