# ExperimentalSurfaceEntityPixelDimensionsApi

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/ExperimentalSurfaceEntityPixelDimensionsApi.kt+class:androidx.xr.scenecore.ExperimentalSurfaceEntityPixelDimensionsApi) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/xr-scenecore#1.0.0)

*** ** * ** ***


```
@RequiresOptIn(message = "This is an experimental API. It may be changed or removed in the future.")
@Retention(value = AnnotationRetention.BINARY)
public annotation ExperimentalSurfaceEntityPixelDimensionsApi
```

<br />

*** ** * ** ***

Marks the SurfaceEntity.getPixelDimensions() method as experimental. This method may change or be removed in the future.

Any usage of a declaration annotated with `@ExperimentalSurfaceEntityPixelDimensionsApi` must be accepted either by annotating that usage with `@OptIn(ExperimentalSurfaceEntityPixelDimensionsApi::class)` or by propagating the annotation to the containing declaration.