SearchSuggestionSelectionHandler

public protocol SearchSuggestionSelectionHandler

SearchSuggestionSelectionHandler defines api for object being handler for suggestion selection callbacks.

Important

This is a Public Preview API. It may be changed or removed at any time.
  • Informs about suggestion being selected

    Declaration

    Swift

    func onSuggestionSelected(suggestion: SearchSuggestion)

    Parameters

    suggestion

    Suggestion that can be directly used as a search query.