setSelectedSearchResult

open fun setSelectedSearchResult(@Nullable newSelectedSearchResult: SearchResult)

Marks a single search results as selected, deselecting any previously selected search result. Callers must ensure that the selected search results has been set previously using setSearchResults or an exception will be thrown.

Parameters

newSelectedSearchResult

A search result that should be highlighted as selected.