android-components / mozilla.components.browser.storage.memory / InMemoryHistoryStorage / getDomainSuggestion

# getDomainSuggestion

`fun getDomainSuggestion(query: String): String?` (source)

Overrides HistoryStorage.getDomainSuggestion

Retrieves domain suggestions which best match the query.

### Parameters

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

Return
An optional domain URL which best matches the query.