Interface ObservationsTaskCallback
-
public interface ObservationsTaskCallbackCallback interface forObservationsTask.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonObservationsFailed(AerisError error)This method will be called when an observation request to the API has failed.voidonObservationsLoaded(List<ObservationResponse> responses)This method will be called when a list of observations have been returned from the API.
-
-
-
Method Detail
-
onObservationsLoaded
void onObservationsLoaded(List<ObservationResponse> responses)
This method will be called when a list of observations have been returned from the API.- Parameters:
responses- List of responses
-
onObservationsFailed
void onObservationsFailed(AerisError error)
This method will be called when an observation request to the API has failed.- Parameters:
error- The aeris error regarding to the fail.
-
-