# androidx.privacysandbox.ui.provider

*** ** * ** ***

## Interfaces

|---|---|
| `https://developer.android.com/reference/kotlin/androidx/privacysandbox/ui/provider/SessionObserverFactoryRegistry` | **This interface is deprecated.** This library is no longer supported. |

## Classes

|---|---|
| `https://developer.android.com/reference/kotlin/androidx/privacysandbox/ui/provider/AbstractSandboxedUiAdapter` | **This class is deprecated.** This library is no longer supported. |
| `https://developer.android.com/reference/kotlin/androidx/privacysandbox/ui/provider/AbstractSandboxedUiAdapter.AbstractSession` | **This class is deprecated.** This library is no longer supported. |

## Extension functions summary

|---|---|
| `https://developer.android.com/reference/android/os/Bundle.html` | `@https://developer.android.com/reference/kotlin/androidx/privacysandbox/ui/core/ExperimentalFeatures.SharedUiPresentationApi https://developer.android.com/reference/kotlin/androidx/privacysandbox/ui/core/SharedUiAdapter.[toCoreLibInfo](https://developer.android.com/reference/kotlin/androidx/privacysandbox/ui/provider/package-summary#(androidx.privacysandbox.ui.core.SharedUiAdapter).toCoreLibInfo())()` **This function is deprecated.** This library is no longer supported. |
| `https://developer.android.com/reference/android/os/Bundle.html` | `https://developer.android.com/reference/kotlin/androidx/privacysandbox/ui/core/SandboxedUiAdapter.[toCoreLibInfo](https://developer.android.com/reference/kotlin/androidx/privacysandbox/ui/provider/package-summary#(androidx.privacysandbox.ui.core.SandboxedUiAdapter).toCoreLibInfo(android.content.Context))(context: https://developer.android.com/reference/android/content/Context.html)` **This function is deprecated.** This library is no longer supported. |

## Extension functions

### SharedUiAdapter.toCoreLibInfo

Artifact: [androidx.privacysandbox.ui:ui-provider](https://developer.android.com/jetpack/androidx/releases/privacysandbox-ui) [View Source](https://cs.android.com/search?q=file:androidx/privacysandbox/ui/provider/BinderSharedUiAdapterDelegate.kt+function:toCoreLibInfo) Added in [1.0.0-alpha17](https://developer.android.com/jetpack/androidx/releases/privacysandbox-ui#1.0.0-alpha17) Deprecated in [1.0.0-alpha17](https://developer.android.com/jetpack/androidx/releases/privacysandbox-ui#1.0.0-alpha17)

```
@ExperimentalFeatures.SharedUiPresentationApi
fun SharedUiAdapter.[toCoreLibInfo](https://developer.android.com/reference/kotlin/androidx/privacysandbox/ui/provider/package-summary#(androidx.privacysandbox.ui.core.SharedUiAdapter).toCoreLibInfo())(): Bundle
```

> [!CAUTION]
> **This function is deprecated.**   
> This library is no longer supported.

Provides a `https://developer.android.com/reference/android/os/Bundle.html` containing a Binder which represents a `https://developer.android.com/reference/kotlin/androidx/privacysandbox/ui/core/SharedUiAdapter`. The Bundle is sent to the client in order for the `https://developer.android.com/reference/kotlin/androidx/privacysandbox/ui/core/SharedUiAdapter` to be used to maintain a connection with a UI provider.

### SandboxedUiAdapter.toCoreLibInfo

Artifact: [androidx.privacysandbox.ui:ui-provider](https://developer.android.com/jetpack/androidx/releases/privacysandbox-ui) [View Source](https://cs.android.com/search?q=file:androidx/privacysandbox/ui/provider/BinderAdapterDelegate.kt+function:toCoreLibInfo) Added in [1.0.0-alpha17](https://developer.android.com/jetpack/androidx/releases/privacysandbox-ui#1.0.0-alpha17) Deprecated in [1.0.0-alpha17](https://developer.android.com/jetpack/androidx/releases/privacysandbox-ui#1.0.0-alpha17)

```
fun SandboxedUiAdapter.[toCoreLibInfo](https://developer.android.com/reference/kotlin/androidx/privacysandbox/ui/provider/package-summary#(androidx.privacysandbox.ui.core.SandboxedUiAdapter).toCoreLibInfo(android.content.Context))(context: Context): Bundle
```

> [!CAUTION]
> **This function is deprecated.**   
> This library is no longer supported.

Provides a `https://developer.android.com/reference/android/os/Bundle.html` containing a Binder which represents a `https://developer.android.com/reference/kotlin/androidx/privacysandbox/ui/core/SandboxedUiAdapter`. The Bundle is shuttled to the host app in order for the `https://developer.android.com/reference/kotlin/androidx/privacysandbox/ui/core/SandboxedUiAdapter` to be used to retrieve content.