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 Place instances.

    Declaration

    Swift

    func onFoundPlaces(_ places: [Place])
  • Informs about text update

    Declaration

    Swift

    func onTextUpdated()