Stay organized with collections
Save and categorize content based on your preferences.
Annotations
Interfaces
EngagementSignalsCallback |
A callback class for custom tabs clients to get messages regarding the user's engagement with the webpage within their custom tabs.
|
Classes
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-08-13 UTC.
[null,null,["Last updated 2025-08-13 UTC."],[],[],null,["# androidx.browser.customtabs\n===========================\n\n*** ** * ** ***\n\n[Kotlin](/reference/kotlin/androidx/browser/customtabs/package-summary \"View this page in Kotlin\") \\|Java\n\nAnnotations\n-----------\n\n|-------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------|\n| [CustomTabsService.Relation](/reference/androidx/browser/customtabs/CustomTabsService.Relation) | |\n| [CustomTabsService.Result](/reference/androidx/browser/customtabs/CustomTabsService.Result) | |\n| [ExperimentalCustomContentAction](/reference/androidx/browser/customtabs/ExperimentalCustomContentAction) | |\n| [ExperimentalInitialNavigationCanLeaveBrowser](/reference/androidx/browser/customtabs/ExperimentalInitialNavigationCanLeaveBrowser) | |\n| [ExperimentalOpenInBrowser](/reference/androidx/browser/customtabs/ExperimentalOpenInBrowser) | |\n| [ExperimentalPendingSession](/reference/androidx/browser/customtabs/ExperimentalPendingSession) | Denotes that the annotated method uses the experimental PendingSession class. |\n| [ExperimentalPrefetch](/reference/androidx/browser/customtabs/ExperimentalPrefetch) | Denotes that the annotated method uses the experimental API prefetch. |\n\nInterfaces\n----------\n\n|-----------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------|\n| [EngagementSignalsCallback](/reference/androidx/browser/customtabs/EngagementSignalsCallback) | A callback class for custom tabs clients to get messages regarding the user's engagement with the webpage within their custom tabs. |\n\nClasses\n-------\n\n|-----------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [ContentActionSelectedData](/reference/androidx/browser/customtabs/ContentActionSelectedData) | Represents the data passed by a browser when a custom content action is triggered from a Custom Tab. |\n| [CustomContentAction](/reference/androidx/browser/customtabs/CustomContentAction) | Represents a custom action that can be invoked on specific content types (image or link) within a Custom Tab. |\n| [CustomContentAction.Builder](/reference/androidx/browser/customtabs/CustomContentAction.Builder) | Builder class for [CustomContentAction](/reference/androidx/browser/customtabs/CustomContentAction) objects. |\n| [CustomTabColorSchemeParams](/reference/androidx/browser/customtabs/CustomTabColorSchemeParams) | Contains visual parameters of a Custom Tab that may depend on the color scheme. |\n| [CustomTabColorSchemeParams.Builder](/reference/androidx/browser/customtabs/CustomTabColorSchemeParams.Builder) | Builder class for [CustomTabColorSchemeParams](/reference/androidx/browser/customtabs/CustomTabColorSchemeParams) objects. |\n| [CustomTabsCallback](/reference/androidx/browser/customtabs/CustomTabsCallback) | A callback class for custom tabs client to get messages regarding events in their custom tabs. |\n| [CustomTabsClient](/reference/androidx/browser/customtabs/CustomTabsClient) | Class to communicate with a [CustomTabsService](/reference/androidx/browser/customtabs/CustomTabsService) and create [CustomTabsSession](/reference/androidx/browser/customtabs/CustomTabsSession) from it. |\n| [CustomTabsIntent](/reference/androidx/browser/customtabs/CustomTabsIntent) | Class holding the [Intent](https://developer.android.com/reference/android/content/Intent.html) and start bundle for a Custom Tabs Activity. |\n| [CustomTabsIntent.Builder](/reference/androidx/browser/customtabs/CustomTabsIntent.Builder) | Builder class for [CustomTabsIntent](/reference/androidx/browser/customtabs/CustomTabsIntent) objects. |\n| [CustomTabsService](/reference/androidx/browser/customtabs/CustomTabsService) | Abstract service class for implementing Custom Tabs related functionality. |\n| [CustomTabsServiceConnection](/reference/androidx/browser/customtabs/CustomTabsServiceConnection) | Abstract [ServiceConnection](https://developer.android.com/reference/android/content/ServiceConnection.html) to use while binding to a [CustomTabsService](/reference/androidx/browser/customtabs/CustomTabsService). |\n| [CustomTabsSession](/reference/androidx/browser/customtabs/CustomTabsSession) | A class to be used for Custom Tabs related communication. |\n| [CustomTabsSession.PendingSession](/reference/androidx/browser/customtabs/CustomTabsSession.PendingSession) | 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. |\n| [CustomTabsSessionToken](/reference/androidx/browser/customtabs/CustomTabsSessionToken) | Wrapper class that can be used as a unique identifier for a session. |\n| [PostMessageService](/reference/androidx/browser/customtabs/PostMessageService) | A service to receive postMessage related communication from a Custom Tabs provider. |\n| [PostMessageServiceConnection](/reference/androidx/browser/customtabs/PostMessageServiceConnection) | A [ServiceConnection](https://developer.android.com/reference/android/content/ServiceConnection.html) for Custom Tabs providers to use while connecting to a [PostMessageService](/reference/androidx/browser/customtabs/PostMessageService) on the client side. |\n| [PrefetchOptions](/reference/androidx/browser/customtabs/PrefetchOptions) | Composes optional parameters used in [prefetch](/reference/androidx/browser/customtabs/CustomTabsSession#prefetch(android.net.Uri,androidx.browser.customtabs.PrefetchOptions)). |\n| [PrefetchOptions.Builder](/reference/androidx/browser/customtabs/PrefetchOptions.Builder) | Builder class for [PrefetchOptions](/reference/androidx/browser/customtabs/PrefetchOptions) |\n| [TrustedWebUtils](/reference/androidx/browser/customtabs/TrustedWebUtils) | Class for utilities and convenience calls for opening a qualifying web page as a Trusted Web Activity. |"]]