SearchBarViewDelegate

public protocol SearchBarViewDelegate : AnyObject

SearchBarViewDelegate is responsible for returning search results and communicating search errors.

Important

This is a Public Preview API. It may be changed or removed at any time.
  • Informs about an error that can occur during a search.

    Declaration

    Swift

    func onSearchError(_ error: Error)
  • Returns search results as an array of SearchResult instances.

    Declaration

    Swift

    func onFoundResults(_ results: [SearchResult])
  • Informs about text update

    Declaration

    Swift

    func onTextUpdated()