# 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)

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/androidx/privacysandbox/ui/core/SessionData "View this page in Java")

<br />

```
class SessionData
```

<br />

*** ** * ** ***

| **This class is deprecated.**   
| This library is no longer supported.

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

## Summary

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

|                                        ### Public functions                                         |
|-----------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `open operator `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) | ~~[equals](https://developer.android.com/reference/kotlin/androidx/privacysandbox/ui/core/SessionData#equals(kotlin.Any))~~`(other: `[Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)`?)` **This function is deprecated.**This library is no longer supported. |
| `open `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)                  | ~~[hashCode](https://developer.android.com/reference/kotlin/androidx/privacysandbox/ui/core/SessionData#hashCode())~~`()` **This function is deprecated.**This library is no longer supported.                                                                                            |
| `open `[String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)            | ~~[toString](https://developer.android.com/reference/kotlin/androidx/privacysandbox/ui/core/SessionData#toString())~~`()` **This function is deprecated.**This library is no longer supported.                                                                                            |

|                                          ### Public properties                                          |
|---------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [InputTransferToken](https://developer.android.com/reference/android/window/InputTransferToken.html)`?` | `@`[RequiresApi](https://developer.android.com/reference/kotlin/androidx/annotation/RequiresApi)`(value = 35)` [inputTransferToken](https://developer.android.com/reference/kotlin/androidx/privacysandbox/ui/core/SessionData#inputTransferToken()) **This property is deprecated.**This library is no longer supported. |
| [IBinder](https://developer.android.com/reference/android/os/IBinder.html)`?`                           | [windowInputToken](https://developer.android.com/reference/kotlin/androidx/privacysandbox/ui/core/SessionData#windowInputToken()) **This property 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)  

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

## Public functions

### equals

```
open operator fun [equals](https://developer.android.com/reference/kotlin/androidx/privacysandbox/ui/core/SessionData#equals(kotlin.Any))(other: Any?): Boolean
```
| **This function is deprecated.**   
This library is no longer supported.  

### hashCode

```
open fun [hashCode](https://developer.android.com/reference/kotlin/androidx/privacysandbox/ui/core/SessionData#hashCode())(): Int
```
| **This function is deprecated.**   
This library is no longer supported.  

### toString

```
open fun [toString](https://developer.android.com/reference/kotlin/androidx/privacysandbox/ui/core/SessionData#toString())(): String
```
| **This function is deprecated.**   
This library is no longer supported.  

## Public properties

### inputTransferToken

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)  

```
@RequiresApi(value = 35)
val inputTransferToken: InputTransferToken?
```
| **This property is deprecated.**   
| This library is no longer supported.

The input transfer token of the window hosting this session.

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

### windowInputToken

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)  

```
val windowInputToken: IBinder?
```
| **This property is deprecated.**   
| This library is no longer supported.

The input token of the window hosting this session.

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