[android-components](../../../index.md) / [mozilla.components.browser.session.utils](../../index.md) / [AllSessionsObserver](../index.md) / [Observer](index.md) / [onRegisteredToSession](./on-registered-to-session.md)

# onRegisteredToSession

`open fun onRegisteredToSession(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/browser/session/src/main/java/mozilla/components/browser/session/utils/AllSessionsObserver.kt#L58)