[android-components](../../index.md) / [mozilla.components.browser.session](../index.md) / [SelectionAwareSessionObserver](index.md) / [onSessionSelected](./on-session-selected.md)

# onSessionSelected

`@CallSuper open fun onSessionSelected(session: `[`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/browser/session/src/main/java/mozilla/components/browser/session/SelectionAwareSessionObserver.kt#L68)

Overrides [Observer.onSessionSelected](../-session-manager/-observer/on-session-selected.md)

The selection has changed and the given session is now the selected session.

