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