[android-components](../../index.md) / [mozilla.components.feature.customtabs.feature](../index.md) / [CustomTabSessionTitleObserver](index.md) / [onTitleChanged](./on-title-changed.md)

# onTitleChanged

`fun onTitleChanged(session: `[`Session`](../../mozilla.components.browser.session/-session/index.md)`, title: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/feature/customtabs/src/main/java/mozilla/components/feature/customtabs/feature/CustomTabSessionTitleObserver.kt#L27)

Overrides [Observer.onTitleChanged](../../mozilla.components.browser.session/-session/-observer/on-title-changed.md)

