[android-components](../../index.md) / [mozilla.components.browser.search](../index.md) / [SearchEngineManager](index.md) / [getProvidedDefaultSearchEngineAsync](./get-provided-default-search-engine-async.md)

# getProvidedDefaultSearchEngineAsync

`suspend fun getProvidedDefaultSearchEngineAsync(context: <ERROR CLASS>): `[`SearchEngine`](../-search-engine/index.md) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/browser/search/src/main/java/mozilla/components/browser/search/SearchEngineManager.kt#L152)

Returns the provided default search engine or the first search engine if the default
is not set.

