onSearchResultSelected

abstract fun onSearchResultSelected(searchResult: SearchResult, responseInfo: ResponseInfo)

Called when a user retrieves SearchResult from one of currently displayed on the views (i.e. when SearchSelectionCallback.onResult callback is called) or when the user selects one of the currently displayed SearchResult's.

See also

com.mapbox.search.SearchSelectionCallback

Parameters

searchResult

Search result.

responseInfo

Search response and request information.