[android-components](../../index.md) / [mozilla.components.browser.state.state](../index.md) / [WebExtensionState](index.md) / [&lt;init&gt;](./-init-.md)

# &lt;init&gt;

`WebExtensionState(id: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`, url: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`? = null, name: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`? = null, enabled: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)` = true, allowedInPrivateBrowsing: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)` = false, browserAction: `[`WebExtensionBrowserAction`](../../mozilla.components.concept.engine.webextension/-web-extension-browser-action.md)`? = null, pageAction: `[`WebExtensionPageAction`](../../mozilla.components.concept.engine.webextension/-web-extension-page-action.md)`? = null, popupSessionId: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`? = null, popupSession: `[`EngineSession`](../../mozilla.components.concept.engine/-engine-session/index.md)`? = null)`

Value type that represents the state of a web extension.

