Protocols

The following protocols are available globally.

  • LastUserLocationProviderProtocol provides last user location that can be used to obtain the search results.

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public protocol LastUserLocationProviderProtocol

SearchBarViewDelegate

  • 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.
    See more

    Declaration

    Swift

    public protocol SearchBarViewDelegate : AnyObject

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.
    See more

    Declaration

    Swift

    public protocol SearchSuggestionSelectionHandler

SearchSuggestionsProviderProtocol

  • SearchSuggestionsProviderProtocol defines api for object providing search suggestions.

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public protocol SearchSuggestionsProviderProtocol

SearchSuggestionProviderDelegate

  • SearchSuggestionProviderDelegate notifies about suggestions availability.

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public protocol SearchSuggestionProviderDelegate : AnyObject

SearchViewDelegate

  • SearchViewDelegate informs about certain user interactions with the search components.

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public protocol SearchViewDelegate : AnyObject

SearchingThemeProtocol

  • SearchingThemeProtocol defines the interface of the theme used for styling search components.

    Important

    This is a Public Preview API. It may be changed or removed at any time.

    Declaration

    Swift

    public protocol SearchingThemeProtocol : ThemeProtocol

SearchingImagesThemeProtocol

  • Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public protocol SearchingImagesThemeProtocol

SearchResultsCellStyling

  • Defines the Search Results Cell appearance.

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public protocol SearchResultsCellStyling

ButtonsThemeProtocol

  • Important

    This is a Public Preview API. It may be changed or removed at any time.

    Declaration

    Swift

    public protocol ButtonsThemeProtocol

ColorsThemeProtocol

  • A container of pre-defined colors to be used in SearchUI

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public protocol ColorsThemeProtocol

FontsThemeProtocol

  • Important

    This is a Public Preview API. It may be changed or removed at any time.

    Declaration

    Swift

    public protocol FontsThemeProtocol

ImagesThemeProtocol

  • Important

    This is a Public Preview API. It may be changed or removed at any time.

    Declaration

    Swift

    public protocol ImagesThemeProtocol

LabelsThemeProtocol

  • A container of visual attributes to define appearance of labels in Search UI

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public protocol LabelsThemeProtocol

ShadowsThemeProtocol

  • Important

    This is a Public Preview API. It may be changed or removed at any time.

    Declaration

    Swift

    public protocol ShadowsThemeProtocol

ThemeProtocol

  • Defines visual appearance for the Search UI

    Important

    This is a Public Preview API. It may be changed or removed at any time.

    Declaration

    Swift

    public protocol ThemeProtocol

OverlayContainerSubviewDelegate

  • Important

    This is a Public Preview API. It may be changed or removed at any time.

    Declaration

    Swift

    public protocol OverlayContainerSubviewDelegate : AnyObject

NetworkStateDetectorDelegate

  • Important

    This is a Public Preview API. It may be changed or removed at any time.

    Declaration

    Swift

    public protocol NetworkStateDetectorDelegate : AnyObject

NetworkStateDetectorProtocol

  • Important

    This is a Public Preview API. It may be changed or removed at any time.

    Declaration

    Swift

    public protocol NetworkStateDetectorProtocol