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
searchEngineengine 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
resultresolved search result
-
Search failed with error
Declaration
Swift
func searchErrorHappened(searchError: SearchError)Parameters
searchErrorsearch error
SearchEngineDelegate Protocol Reference