android-components / mozilla.components.browser.storage.sync / PlacesHistoryStorage / getSuggestions

# getSuggestions

`open fun getSuggestions(query: String, limit: Int): List<SearchResult>` (source)

Overrides HistoryStorage.getSuggestions

Retrieves suggestions matching the query.

### Parameters

`query` - A query by which to query the underlying store.

Return
A List of SearchResult matching the query, in no particular order.