# PerceivedResolutionResult.Success

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

*** ** * ** ***


```
public final class PerceivedResolutionResult.Success extends PerceivedResolutionResult
```

<br />

|---|---|---|
| [java.lang.Object](https://developer.android.com/reference/java/lang/Object.html) |||
| ↳ | [androidx.xr.scenecore.PerceivedResolutionResult](https://developer.android.com/reference/androidx/xr/scenecore/PerceivedResolutionResult) ||
|   | ↳ | [androidx.xr.scenecore.PerceivedResolutionResult.Success](https://developer.android.com/reference/androidx/xr/scenecore/PerceivedResolutionResult.Success) |

*** ** * ** ***

Indicates that the perceived resolution was successfully calculated.

## Summary

| ### Public constructors |
|---|
| `https://developer.android.com/reference/androidx/xr/scenecore/PerceivedResolutionResult.Success#Success(androidx.xr.runtime.math.IntSize2d)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/xr/runtime/math/IntSize2d perceivedResolution)` |

| ### Public methods |
|---|---|
| `boolean` | `https://developer.android.com/reference/androidx/xr/scenecore/PerceivedResolutionResult.Success#equals(kotlin.Any)(https://developer.android.com/reference/java/lang/Object.html other)` |
| `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/xr/runtime/math/IntSize2d` | `https://developer.android.com/reference/androidx/xr/scenecore/PerceivedResolutionResult.Success#getPerceivedResolution()()` The calculated pixel dimensions (width and height) that the entity is perceived to occupy on the display. |
| `int` | `https://developer.android.com/reference/androidx/xr/scenecore/PerceivedResolutionResult.Success#hashCode()()` |
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/androidx/xr/scenecore/PerceivedResolutionResult.Success#toString()()` |

## Public constructors

### Success

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

```
public Success(@NonNull IntSize2d perceivedResolution)
```

## Public methods

### equals

```
public boolean equals(Object other)
```

### getPerceivedResolution

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

```
public final @NonNull IntSize2d getPerceivedResolution()
```

The calculated pixel dimensions (width and height) that the entity is perceived to occupy on the display.

### hashCode

```
public int hashCode()
```

### toString

```
public @NonNull String toString()
```