android-components / mozilla.components.feature.search / SearchUseCases / DefaultSearchUrlUseCase / invoke

# invoke

`fun invoke(searchTerms: String, session: Session = sessionManager.selectedSessionOrThrow): Unit` (source)

Triggers a search using the default search engine for the provided search terms.

### Parameters

`searchTerms` - the search terms.

`session` - the session to use, or the currently selected session if none is provided.