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