Stay organized with collections
Save and categorize content based on your preferences.
This package contains interface and class definitions shared between Privacy Sandbox Ui Client and Privacy Sandbox Ui Provider.
Annotations
Interfaces
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-05-20 UTC.
[null,null,["Last updated 2025-05-20 UTC."],[],[],null,["# androidx.privacysandbox.ui.core\n===============================\n\n*** ** * ** ***\n\n[Kotlin](/reference/kotlin/androidx/privacysandbox/ui/core/package-summary \"View this page in Kotlin\") \\|Java\n\nThis package contains interface and class definitions shared between Privacy Sandbox Ui Client and Privacy Sandbox Ui Provider.\n\nAnnotations\n-----------\n\n|-----------------------------------------------------------------------------------------------------------------------------------------|---|\n| [ExperimentalFeatures.DelegatingAdapterApi](/reference/androidx/privacysandbox/ui/core/ExperimentalFeatures.DelegatingAdapterApi) | |\n| [ExperimentalFeatures.SharedUiPresentationApi](/reference/androidx/privacysandbox/ui/core/ExperimentalFeatures.SharedUiPresentationApi) | |\n\nInterfaces\n----------\n\n|-------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [DelegatingSandboxedUiAdapter.DelegateChangeListener](/reference/androidx/privacysandbox/ui/core/DelegatingSandboxedUiAdapter.DelegateChangeListener) | Listener that consumes events to process the delegate change for a client |\n| [ExperimentalFeatures](/reference/androidx/privacysandbox/ui/core/ExperimentalFeatures) | Contains UI Lib experimental feature opt-in annotations. |\n| [SandboxedUiAdapter](/reference/androidx/privacysandbox/ui/core/SandboxedUiAdapter) | An Adapter that provides content from a SandboxedSdk to be displayed as part of a host app's UI. |\n| [SandboxedUiAdapter.Session](/reference/androidx/privacysandbox/ui/core/SandboxedUiAdapter.Session) | A single session with the provider of remote content. |\n| [SandboxedUiAdapter.SessionClient](/reference/androidx/privacysandbox/ui/core/SandboxedUiAdapter.SessionClient) | The client of a single session that will receive callback events from an active session. |\n| [SessionObserver](/reference/androidx/privacysandbox/ui/core/SessionObserver) | An interface that can be used by the client of a [androidx.privacysandbox.ui.core.SandboxedUiAdapter.Session](/reference/androidx/privacysandbox/ui/core/SandboxedUiAdapter.Session) to receive updates about its state. |\n| [SessionObserverFactory](/reference/androidx/privacysandbox/ui/core/SessionObserverFactory) | A factory that creates [SessionObserver](/reference/androidx/privacysandbox/ui/core/SessionObserver) instances that can be attached to a [SandboxedUiAdapter.Session](/reference/androidx/privacysandbox/ui/core/SandboxedUiAdapter.Session). |\n| [SharedUiAdapter](/reference/androidx/privacysandbox/ui/core/SharedUiAdapter) | An adapter that provides a communication channel between a UI provider and a client app, while the client is displaying shared UI, i.e. UI that can contain both client-owned and provider-owned elements. |\n| [SharedUiAdapter.Session](/reference/androidx/privacysandbox/ui/core/SharedUiAdapter.Session) | A single session with the UI provider. |\n| [SharedUiAdapter.SessionClient](/reference/androidx/privacysandbox/ui/core/SharedUiAdapter.SessionClient) | The client of a single session that will receive callback events from an active session. |\n\nClasses\n-------\n\n|---------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [DelegatingSandboxedUiAdapter](/reference/androidx/privacysandbox/ui/core/DelegatingSandboxedUiAdapter) | A [SandboxedUiAdapter](/reference/androidx/privacysandbox/ui/core/SandboxedUiAdapter) that helps delegate calls to other uiAdapters. |\n| [SandboxedSdkViewUiInfo](/reference/androidx/privacysandbox/ui/core/SandboxedSdkViewUiInfo) | A class representing the UI state of a SandboxedSdkView. |\n| [SandboxedUiAdapterSignalOptions](/reference/androidx/privacysandbox/ui/core/SandboxedUiAdapterSignalOptions) | This class defines the set of signal options which can be set on a [SessionObserverFactory](/reference/androidx/privacysandbox/ui/core/SessionObserverFactory) which is associated with a [SandboxedUiAdapter](/reference/androidx/privacysandbox/ui/core/SandboxedUiAdapter). |\n| [SessionData](/reference/androidx/privacysandbox/ui/core/SessionData) | A class containing values that will be constant for the lifetime of a [SandboxedUiAdapter.Session](/reference/androidx/privacysandbox/ui/core/SandboxedUiAdapter.Session). |\n| [SessionObserverContext](/reference/androidx/privacysandbox/ui/core/SessionObserverContext) | A class containing information that will be constant through the lifetime of a [SessionObserver](/reference/androidx/privacysandbox/ui/core/SessionObserver). |"]]