android-components / mozilla.components.browser.search.provider.filter / SearchEngineFilter

SearchEngineFilter

interface SearchEngineFilter (source)

Interface for classes that want to filter the list of search engines a SearchEngineProvider implementation loads.

Functions

Name Summary
filter abstract fun filter(context: <ERROR CLASS>, searchEngine: SearchEngine): Boolean
Returns true if the given search engine should be returned by the provider or false if this search engine should be ignored.