# SessionData

Artifact: [androidx.privacysandbox.ui:ui-core](https://developer.android.com/jetpack/androidx/releases/privacysandbox-ui) [View Source](https://cs.android.com/search?q=file:androidx/privacysandbox/ui/core/SessionData.kt+class:androidx.privacysandbox.ui.core.SessionData) 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)

*** ** * ** ***


```
public final class SessionData
```

<br />

*** ** * ** ***

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

A class containing values that will be constant for the lifetime of a `https://developer.android.com/reference/androidx/privacysandbox/ui/core/SandboxedUiAdapter.Session`.

## Summary

| ### Public constructors |
|---|
| `[SessionData](https://developer.android.com/reference/androidx/privacysandbox/ui/core/SessionData#SessionData())()` **This method is deprecated.** This library is no longer supported. |

| ### Public methods |
|---|---|
| `boolean` | `[equals](https://developer.android.com/reference/androidx/privacysandbox/ui/core/SessionData#equals(kotlin.Any))(https://developer.android.com/reference/java/lang/Object.html other)` **This method is deprecated.** This library is no longer supported. |
| `final https://developer.android.com/reference/android/window/InputTransferToken.html` | `[getInputTransferToken](https://developer.android.com/reference/androidx/privacysandbox/ui/core/SessionData#getInputTransferToken())()` **This method is deprecated.** This library is no longer supported. |
| `final https://developer.android.com/reference/android/os/IBinder.html` | `[getWindowInputToken](https://developer.android.com/reference/androidx/privacysandbox/ui/core/SessionData#getWindowInputToken())()` **This method is deprecated.** This library is no longer supported. |
| `int` | `[hashCode](https://developer.android.com/reference/androidx/privacysandbox/ui/core/SessionData#hashCode())()` **This method is deprecated.** This library is no longer supported. |
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html` | `[toString](https://developer.android.com/reference/androidx/privacysandbox/ui/core/SessionData#toString())()` **This method is deprecated.** This library is no longer supported. |

## Public constructors

### SessionData

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)

```
public [SessionData](https://developer.android.com/reference/androidx/privacysandbox/ui/core/SessionData#SessionData())()
```

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

## Public methods

### equals

```
public boolean [equals](https://developer.android.com/reference/androidx/privacysandbox/ui/core/SessionData#equals(kotlin.Any))(Object other)
```

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

### getInputTransferToken

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)

```
public final InputTransferToken [getInputTransferToken](https://developer.android.com/reference/androidx/privacysandbox/ui/core/SessionData#getInputTransferToken())()
```

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

The input transfer token of the window hosting this session.

This will be non-null when `https://developer.android.com/reference/android/os/Build.VERSION.html#SDK_INT` is greater than `https://developer.android.com/reference/android/os/Build.VERSION_CODES.html#UPSIDE_DOWN_CAKE`.

### getWindowInputToken

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)

```
public final IBinder [getWindowInputToken](https://developer.android.com/reference/androidx/privacysandbox/ui/core/SessionData#getWindowInputToken())()
```

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

The input token of the window hosting this session.

This value will be used when `https://developer.android.com/reference/android/os/Build.VERSION.html#SDK_INT` is equal to `https://developer.android.com/reference/android/os/Build.VERSION_CODES.html#UPSIDE_DOWN_CAKE`.

### hashCode

```
public int [hashCode](https://developer.android.com/reference/androidx/privacysandbox/ui/core/SessionData#hashCode())()
```

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

### toString

```
public @NonNull String [toString](https://developer.android.com/reference/androidx/privacysandbox/ui/core/SessionData#toString())()
```

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