[android-components](../../index.md) / [org.mozilla.telemetry.measurement](../index.md) / [DefaultSearchMeasurement](index.md) / [setDefaultSearchEngineProvider](./set-default-search-engine-provider.md)

# setDefaultSearchEngineProvider

`open fun setDefaultSearchEngineProvider(provider: `[`DefaultSearchEngineProvider`](-default-search-engine-provider/index.md)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/service/telemetry/src/main/java/org/mozilla/telemetry/measurement/DefaultSearchMeasurement.java#L22)