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

# getProvidedDefaultSearchEngine

`@Synchronized fun getProvidedDefaultSearchEngine(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#L144)

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

