android-components / mozilla.components.browser.engine.gecko.ext

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

Functions

Name Summary
toContentBlockingSetting fun TrackingProtectionPolicy.toContentBlockingSetting(safeBrowsingPolicy: Array<SafeBrowsingPolicy> = arrayOf(EngineSession.SafeBrowsingPolicy.RECOMMENDED)): Settings
Converts a TrackingProtectionPolicy into a GeckoView setting that can be used with GeckoRuntimeSettings.Builder.