Interface FiresTaskCallback
-
public interface FiresTaskCallbackCallback interface forFiresTask.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonFiresFailed(AerisError error)This method will be called when an fires request to the API has failed.voidonFiresLoaded(List<FiresResponse> responses)This method will be called when a list of fires have been returned from the API.
-
-
-
Method Detail
-
onFiresLoaded
void onFiresLoaded(List<FiresResponse> responses)
This method will be called when a list of fires have been returned from the API.- Parameters:
responses- List of responses
-
onFiresFailed
void onFiresFailed(AerisError error)
This method will be called when an fires request to the API has failed.- Parameters:
error- The aeris error regarding to the fail.
-
-