android-components / mozilla.components.feature.awesomebar / AwesomeBarFeature

# AwesomeBarFeature

`class AwesomeBarFeature` (source)

Connects an AwesomeBar with a Toolbar and allows adding multiple AwesomeBar.SuggestionProvider implementations.

### Constructors

<init> | `AwesomeBarFeature(awesomeBar: AwesomeBar, toolbar: Toolbar, engineView: EngineView? = null)` Connects an AwesomeBar with a Toolbar and allows adding multiple AwesomeBar.SuggestionProvider implementations.

### Functions

addHistoryProvider | `fun addHistoryProvider(historyStorage: HistoryStorage, loadUrlUseCase: LoadUrlUseCase): AwesomeBarFeature` Add a AwesomeBar.SuggestionProvider for browsing history to the AwesomeBar.
addSearchProvider | `fun addSearchProvider(searchEngine: SearchEngine, searchUseCase: DefaultSearchUseCase): AwesomeBarFeature` Add a AwesomeBar.SuggestionProvider for search engine suggestions to the AwesomeBar.
addSessionProvider | `fun addSessionProvider(sessionManager: SessionManager, selectTabUseCase: SelectTabUseCase): AwesomeBarFeature` Add a AwesomeBar.SuggestionProvider for "Open tabs" to the AwesomeBar.