Interface SunmoonTaskCallback
-
public interface SunmoonTaskCallbackCallback interface forSunmoonTask.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonSunmoonFailed(AerisError error)This method will be called when an sunmoon request to the API has failed.voidonSunmoonLoaded(List<SunmoonResponse> responses)This method will be called when a list of sunmoon response have been returned from the API.
-
-
-
Method Detail
-
onSunmoonLoaded
void onSunmoonLoaded(List<SunmoonResponse> responses)
This method will be called when a list of sunmoon response have been returned from the API.- Parameters:
responses- List of responses
-
onSunmoonFailed
void onSunmoonFailed(AerisError error)
This method will be called when an sunmoon request to the API has failed.- Parameters:
error- The aeris error regarding to the fail.
-
-