Interface SunmoonTaskCallback
-
public interface SunmoonTaskCallback
Callback interface forSunmoonTask
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onSunmoonFailed(AerisError error)
This method will be called when an sunmoon request to the API has failed.void
onSunmoonLoaded(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.
-
-