SearchEngineDelegate
public protocol SearchEngineDelegate : AnyObject
Declares the list of methods for receiving result of search and resolve operations
-
Search Engine calls this method for every results update
Declaration
Swift
func resultsUpdated(searchEngine: SearchEngine)
Parameters
searchEngine
engine wich has updated results
-
Search Engine did resolve SearchSuggestion. To receive resolved Search result you have to call “select(suggestion: SearchSuggestion)” method
Declaration
Swift
func resolvedResult(result: SearchResult)
Parameters
result
resolved search result
-
Search failed with error
Declaration
Swift
func searchErrorHappened(searchError: SearchError)
Parameters
searchError
search error