Interface AccommodationAutoSuggestWrapper
- All Known Implementing Classes:
GoogleMapAutosuggestWrapper
public interface AccommodationAutoSuggestWrapper
Wrapper responsible for getting the predictions for the input text and getting the information for Places.
-
Method Summary
Modifier and TypeMethodDescriptiongetAutoCompleteResults(String searchText) Provides list of GlobalSuggestionData consisting the information of places by related to the search text.getPlaceDetails(String placeID) Provides the information of Place related to referenceID.
-
Method Details
-
getAutoCompleteResults
Provides list of GlobalSuggestionData consisting the information of places by related to the search text.- Parameters:
searchText- Unique ID to identify the Place.- Returns:
- the auto complete results
-
getPlaceDetails
Provides the information of Place related to referenceID. The information includes geometry,types of place, place_id- Parameters:
placeID- Unique ID to identify the Place.- Returns:
- placeDetails place details
-