Stay organized with collections
Save and categorize content based on your preferences.
@RequiresOptIn(level = RequiresOptIn.Level.WARNING)
public annotation ExperimentalPendingSession
Denotes that the annotated method uses the experimental PendingSession class.
The PendingSession is a class to be used instead of CustomTabsSession
when a Custom Tab is launched before a service connection is established. Users may create a new pending session, and later convert it to a standard session using attachSession which associates the pending session with the service and turn it into a CustomTabsSession
.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-07-30 UTC.
[null,null,["Last updated 2025-07-30 UTC."],[],[],null,["# ExperimentalPendingSession\n==========================\n\nArtifact: [androidx.browser:browser](/jetpack/androidx/releases/browser) \n[View Source](https://cs.android.com/search?q=file:androidx/browser/customtabs/ExperimentalPendingSession.java+class:androidx.browser.customtabs.ExperimentalPendingSession) \nAdded in [1.9.0](/jetpack/androidx/releases/browser#1.9.0)\n\n*** ** * ** ***\n\n[Kotlin](/reference/kotlin/androidx/browser/customtabs/ExperimentalPendingSession \"View this page in Kotlin\") \\|Java\n\n\n```\n@RequiresOptIn(level = RequiresOptIn.Level.WARNING)\npublic annotation ExperimentalPendingSession\n```\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nDenotes that the annotated method uses the experimental PendingSession class.\n\nThe PendingSession is a class to be used instead of [CustomTabsSession](/reference/androidx/browser/customtabs/CustomTabsSession) when a Custom Tab is launched before a service connection is established. Users may create a new pending session, and later convert it to a standard session using attachSession which associates the pending session with the service and turn it into a [CustomTabsSession](/reference/androidx/browser/customtabs/CustomTabsSession)."]]