[android-components](../../index.md) / [mozilla.components.feature.tabs.tabstray](../index.md) / [TabsTrayPresenter](index.md) / [onSessionAdded](./on-session-added.md)

# onSessionAdded

`fun onSessionAdded(session: `[`Session`](../../mozilla.components.browser.session/-session/index.md)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/feature/tabs/src/main/java/mozilla/components/feature/tabs/tabstray/TabsTrayPresenter.kt#L44)

Overrides [Observer.onSessionAdded](../../mozilla.components.browser.session/-session-manager/-observer/on-session-added.md)

The given session has been added.

