[android-components](../../index.md) / [mozilla.components.feature.customtabs](../index.md) / [AbstractCustomTabsService](index.md) / [newSession](./new-session.md)

# newSession

`protected open fun newSession(sessionToken: CustomTabsSessionToken): `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/feature/customtabs/src/main/java/mozilla/components/feature/customtabs/AbstractCustomTabsService.kt#L75)

Saves the package name of the app creating the custom tab when a new session is started.

