# ActivityPanelEntityTester

Artifact: [androidx.xr.scenecore:scenecore-testing](https://developer.android.com/jetpack/androidx/releases/xr-scenecore) [View Source](https://cs.android.com/search?q=file:androidx/xr/scenecore/testing/ActivityPanelEntityTester.kt+class:androidx.xr.scenecore.testing.ActivityPanelEntityTester) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/xr-scenecore#1.0.0)

*** ** * ** ***


```
class ActivityPanelEntityTester
```

<br />

*** ** * ** ***

A test-only accessor for `https://developer.android.com/reference/kotlin/androidx/xr/scenecore/ActivityPanelEntity` that enables direct manipulation and inspection of its internal state.

## Summary

| ### Public functions |
|---|---|
| `open operator https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/xr/scenecore/testing/ActivityPanelEntityTester#equals(kotlin.Any)(other: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html?)` |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/xr/scenecore/testing/ActivityPanelEntityTester#hashCode()()` |

| ### Public properties |
|---|---|
| `https://developer.android.com/reference/android/content/Intent.html?` | `https://developer.android.com/reference/kotlin/androidx/xr/scenecore/testing/ActivityPanelEntityTester#startActivityIntent()` The `https://developer.android.com/reference/android/content/Intent.html` that was last used to start an activity in the panel via `https://developer.android.com/reference/kotlin/androidx/xr/scenecore/ActivityPanelEntity#startActivity(android.content.Intent)`. |
| `https://developer.android.com/reference/android/app/Activity.html?` | `https://developer.android.com/reference/kotlin/androidx/xr/scenecore/testing/ActivityPanelEntityTester#transferredActivity()` The `https://developer.android.com/reference/android/app/Activity.html` that was last transferred into the panel via `https://developer.android.com/reference/kotlin/androidx/xr/scenecore/ActivityPanelEntity#transferActivity(android.app.Activity)`. |

## Public functions

### equals

```
open operator fun equals(other: Any?): Boolean
```

### hashCode

```
open fun hashCode(): Int
```

## Public properties

### startActivityIntent

Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/xr-scenecore#1.0.0)

```
val startActivityIntent: Intent?
```

The `https://developer.android.com/reference/android/content/Intent.html` that was last used to start an activity in the panel via `https://developer.android.com/reference/kotlin/androidx/xr/scenecore/ActivityPanelEntity#startActivity(android.content.Intent)`.

### transferredActivity

Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/xr-scenecore#1.0.0)

```
val transferredActivity: Activity?
```

The `https://developer.android.com/reference/android/app/Activity.html` that was last transferred into the panel via `https://developer.android.com/reference/kotlin/androidx/xr/scenecore/ActivityPanelEntity#transferActivity(android.app.Activity)`.