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

# &lt;init&gt;

`Session(initialUrl: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`, private: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)` = false, source: `[`Source`](../../mozilla.components.browser.state.state/-session-state/-source/index.md)` = SessionState.Source.NONE, id: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)` = UUID.randomUUID().toString(), contextId: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`? = null, delegate: `[`Observable`](../../mozilla.components.support.base.observer/-observable/index.md)`<`[`Observer`](-observer/index.md)`> = ObserverRegistry())`

Value type that represents the state of a browser session. Changes can be observed.

