Interface RecordsTaskCallback
-
public interface RecordsTaskCallbackCallback interface forRecordsTask.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonRecordsFailed(AerisError error)This method will be called when an records request to the API has failed.voidonRecordsLoaded(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.
-
-