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

# sendSearch

`abstract 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/SearchAdapter.kt#L15)

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

