Interface RecordsTaskCallback
-
public interface RecordsTaskCallback
Callback interface forRecordsTask
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onRecordsFailed(AerisError error)
This method will be called when an records request to the API has failed.void
onRecordsLoaded(List<RecordsResponse> responses)
This method will be called when a list of records have been returned from the API.
-
-
-
Method Detail
-
onRecordsLoaded
void onRecordsLoaded(List<RecordsResponse> responses)
This method will be called when a list of records have been returned from the API.- Parameters:
responses
- List of responses
-
onRecordsFailed
void onRecordsFailed(AerisError error)
This method will be called when an records request to the API has failed.- Parameters:
error
- The aeris error regarding to the fail.
-
-