<div class='sourceset sourceset-android'>Android</div>

```kotlin
public sealed interface SpatialConfiguration
```

Provides information and functionality related to the spatial configuration of the application.

## Functions

<h2 id="requesthomespacemode">requestHomeSpaceMode</h2>

```kotlin
public fun requestHomeSpaceMode()
```

Request that the system places the application into home space mode. This will execute
asynchronously. If it completes successfully then `bounds` will change. This method will
throw an `UnsupportedOperationException` if the application is not in an XR environment.

In home space, the visible space may be shared with other applications; however, applications
in home space will have their spatial capabilities and physical bounds limited.

See [modes in XR](https://developer.android.com/design/ui/xr/guides/foundations#modes).

<hr class="docs-overload-divider">

<h2 id="requestfullspacemode">requestFullSpaceMode</h2>

```kotlin
public fun requestFullSpaceMode()
```

Request that the system places the application into full space mode. This will execute
asynchronously. If it completes successfully then `bounds` will change. This method will
throw an `UnsupportedOperationException` if the application is not in an XR environment.

In full space, this application will be the only application in the visible space, its
spatial capabilities will be expanded, and its physical bounds will expand to fill the entire
virtual space.

See [modes in XR](https://developer.android.com/design/ui/xr/guides/foundations#modes).