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

addSearchProvider | `fun addSearchProvider(searchEngine: SearchEngine, searchUseCase: DefaultSearchUrlUseCase): 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.