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

```kotlin
public val LocalSpatialConfiguration: ProvidableCompositionLocal<SpatialConfiguration>
```

Provides the current [SpatialConfiguration](/jetpack-compose/androidx.xr.compose/compose/interfaces/SpatialConfiguration).

The behavior of the configuration object will depend on whether the system XR Spatial feature is
enabled. For example, if the feature is not enabled, attempting to request different mode types
cause an exception.