Interface SearchCallbackExtended
Interface SearchCallbackExtended
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface SearchCallbackExtendedThe method will be called on the main thread when a search call has been completed. The first argument indicates an error in case of a failure. The second argument contains the results. Both arguments cannot be
nullat the same time - or notnullat the same time.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonSearchExtendedCompleted(SearchError searchError, java.util.List<Place> places, ResponseDetails responseDetails)The method will be called on the main thread when a search call has been completed.
-
-
-
Method Detail
-
onSearchExtendedCompleted
void onSearchExtendedCompleted(@Nullable SearchError searchError, @Nullable java.util.List<Place> places, @Nullable ResponseDetails responseDetails)The method will be called on the main thread when a search call has been completed. The first argument indicates an error in case of a failure. The second argument contains the results. Both arguments cannot be
nullat the same time - or notnullat the same time.- Parameters:
searchError-An error enum indicating what went wrong. It is
nullfor an operation that succeeds.places-The list of search results. It is
nullin case of an error.responseDetails-Additional information provided with response. It is
nullin case of an error.
-
-