SearchResponse

public interface SearchResponse extends Response

Known direct subclasses

Response for search requests.

Summary

Public methods

abstract @Nullable Pagination

Returns the Pagination used to fetch the next page of results.

abstract List<Place>

Returns the list of places.

abstract @Nullable List<RoutingSummary>

A list of routing summaries where each entry associates to the corresponding place in the same index in the places field.

Public methods

getPagination

abstract @Nullable Pagination getPagination()

Returns the Pagination used to fetch the next page of results.

getPlaces

abstract List<PlacegetPlaces()

Returns the list of places.

getRoutingSummaries

abstract @Nullable List<RoutingSummarygetRoutingSummaries()

A list of routing summaries where each entry associates to the corresponding place in the same index in the places field. If the routing summary is not available for one of the places, it will contain an empty entry. This list will have as many entries as the list of places if requested.