[android-components](../../index.md) / [mozilla.components.feature.search](../index.md) / [BrowserStoreSearchAdapter](index.md) / [sendSearch](./send-search.md)

# sendSearch

`fun sendSearch(isPrivate: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)`, text: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/feature/search/src/main/java/mozilla/components/feature/search/BrowserStoreSearchAdapter.kt#L26)

Overrides [SearchAdapter.sendSearch](../-search-adapter/send-search.md)

Called by the component to indicate that the user should be shown a search.

