[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, enabled: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)` = true, browserAction: `[`WebExtensionBrowserAction`](../-web-extension-browser-action.md)`? = null, browserActionPopupSession: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`? = null)`

Value type that represents the state of a web extension.

