Interface PlacesTaskCallback
-
public interface PlacesTaskCallbackCallback interface forPlacesTask.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonPlacesFailed(AerisError error)This method will be called when an places request to the API has failed.voidonPlacesLoaded(List<PlacesResponse> responses)This method will be called when a list of places have been returned from the API.
-
-
-
Method Detail
-
onPlacesLoaded
void onPlacesLoaded(List<PlacesResponse> responses)
This method will be called when a list of places have been returned from the API.- Parameters:
responses- List of responses
-
onPlacesFailed
void onPlacesFailed(AerisError error)
This method will be called when an places request to the API has failed.- Parameters:
error- The aeris error regarding to the fail.
-
-