[android-components](../index.md) / [mozilla.components.browser.engine.gecko.ext](./index.md)

## Package mozilla.components.browser.engine.gecko.ext

### Functions

| Name | Summary |
|---|---|
| [toContentBlockingSetting](to-content-blocking-setting.md) | `fun `[`TrackingProtectionPolicy`](../mozilla.components.concept.engine/-engine-session/-tracking-protection-policy/index.md)`.toContentBlockingSetting(safeBrowsingPolicy: `[`Array`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html)`<`[`SafeBrowsingPolicy`](../mozilla.components.concept.engine/-engine-session/-safe-browsing-policy/index.md)`> = arrayOf(EngineSession.SafeBrowsingPolicy.RECOMMENDED)): `[`Settings`](https://mozilla.github.io/geckoview/javadoc/mozilla-central/org/mozilla/geckoview/ContentBlocking/Settings.html)<br>Converts a [TrackingProtectionPolicy](../mozilla.components.concept.engine/-engine-session/-tracking-protection-policy/index.md) into a GeckoView setting that can be used with [GeckoRuntimeSettings.Builder](https://mozilla.github.io/geckoview/javadoc/mozilla-central/org/mozilla/geckoview/GeckoRuntimeSettings/Builder.html). |
