# androidx.xr.compose.spatial

## Interfaces

|---|---|
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/ContentEdge` | **This interface is deprecated.** Use OrbiterPosition instead. |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterPoseProvider` | **This interface is deprecated.** Use OrbiterPosition-based Orbiter API instead. |

## Classes

|---|---|
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/ContentEdge.Horizontal` | **This class is deprecated.** Use OrbiterPosition instead. |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/ContentEdge.Vertical` | **This class is deprecated.** Use OrbiterPosition instead. |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAlignment` | **This class is deprecated.** Use OrbiterPosition instead. |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAlignment.BottomCenter` | **This class is deprecated.** Use OrbiterPosition instead. |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAlignment.BottomEnd` | **This class is deprecated.** Use OrbiterPosition instead. |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAlignment.BottomLeft` | **This class is deprecated.** Use OrbiterPosition instead. |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAlignment.BottomRight` | **This class is deprecated.** Use OrbiterPosition instead. |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAlignment.BottomStart` | **This class is deprecated.** Use OrbiterPosition instead. |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAlignment.Center` | **This class is deprecated.** Use OrbiterPosition instead. |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAlignment.CenterEnd` | **This class is deprecated.** Use OrbiterPosition instead. |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAlignment.CenterLeft` | **This class is deprecated.** Use OrbiterPosition instead. |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAlignment.CenterRight` | **This class is deprecated.** Use OrbiterPosition instead. |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAlignment.CenterStart` | **This class is deprecated.** Use OrbiterPosition instead. |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAlignment.TopCenter` | **This class is deprecated.** Use OrbiterPosition instead. |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAlignment.TopEnd` | **This class is deprecated.** Use OrbiterPosition instead. |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAlignment.TopLeft` | **This class is deprecated.** Use OrbiterPosition instead. |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAlignment.TopRight` | **This class is deprecated.** Use OrbiterPosition instead. |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAlignment.TopStart` | **This class is deprecated.** Use OrbiterPosition instead. |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint` | **This class is deprecated.** Use OrbiterPosition instead. |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.Absolute` | **This class is deprecated.** Use OrbiterPosition instead. |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterEdgeOffsetType` | **This class is deprecated.** Use OrbiterPosition.EdgeAlignment instead. |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterOffsetType` | **This class is deprecated.** Use OrbiterEdgeOffsetType instead. |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterPosition` | Represents the position of an `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/Orbiter.composable#Orbiter(androidx.xr.compose.spatial.ContentEdge.Horizontal,androidx.compose.ui.unit.Dp,androidx.xr.compose.spatial.OrbiterOffsetType,androidx.compose.ui.Alignment.Horizontal,androidx.xr.compose.subspace.layout.SpatialShape,androidx.compose.ui.unit.Dp,kotlin.Boolean,kotlin.Function0)` in relation to the parent, defined by its alignment, edge alignment, and offset. |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterPosition.BottomCenter` | Bottom-Center edge alignment. |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterPosition.BottomEnd` | Bottom-End edge alignment. |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterPosition.BottomLeft` | Bottom-Left absolute edge alignment. |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterPosition.BottomRight` | Bottom-Right absolute edge alignment. |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterPosition.BottomStart` | Bottom-Start edge alignment. |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterPosition.Center` | Center of the parent (non-edge). |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterPosition.CenterEnd` | Center-End edge alignment. |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterPosition.CenterLeft` | Center-Left absolute edge alignment. |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterPosition.CenterRight` | Center-Right absolute edge alignment. |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterPosition.CenterStart` | Center-Start edge alignment. |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterPosition.EdgeAlignment` | Specifies how the `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/Orbiter.composable#Orbiter(androidx.xr.compose.spatial.ContentEdge.Horizontal,androidx.compose.ui.unit.Dp,androidx.xr.compose.spatial.OrbiterOffsetType,androidx.compose.ui.Alignment.Horizontal,androidx.xr.compose.subspace.layout.SpatialShape,androidx.compose.ui.unit.Dp,kotlin.Boolean,kotlin.Function0)` is aligned relative to its parent's layout boundary. |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterPosition.TopCenter` | Top-Center edge alignment. |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterPosition.TopEnd` | Top-End edge alignment. |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterPosition.TopLeft` | Top-Left absolute edge alignment. |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterPosition.TopRight` | Top-Right absolute edge alignment. |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterPosition.TopStart` | Top-Start edge alignment. |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/SpatialDialogProperties` | Properties for configuring a `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/SpatialDialog.composable#SpatialDialog(kotlin.Function0,androidx.xr.compose.spatial.SpatialDialogProperties,kotlin.Function0)`. |

## Objects

|---|---|
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.Absolute.BottomLeft` | **This object is deprecated.** Use OrbiterPosition instead. |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.Absolute.BottomRight` | **This object is deprecated.** Use OrbiterPosition instead. |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.Absolute.Left` | **This object is deprecated.** Use OrbiterPosition instead. |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.Absolute.LeftBottom` | **This object is deprecated.** Use OrbiterPosition instead. |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.Absolute.LeftTop` | **This object is deprecated.** Use OrbiterPosition instead. |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.Absolute.Right` | **This object is deprecated.** Use OrbiterPosition instead. |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.Absolute.RightBottom` | **This object is deprecated.** Use OrbiterPosition instead. |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.Absolute.RightTop` | **This object is deprecated.** Use OrbiterPosition instead. |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.Absolute.TopLeft` | **This object is deprecated.** Use OrbiterPosition instead. |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.Absolute.TopRight` | **This object is deprecated.** Use OrbiterPosition instead. |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.Bottom` | **This object is deprecated.** Use OrbiterPosition instead. |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.BottomEnd` | **This object is deprecated.** Use OrbiterPosition instead. |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.BottomStart` | **This object is deprecated.** Use OrbiterPosition instead. |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.End` | **This object is deprecated.** Use OrbiterPosition instead. |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.EndBottom` | **This object is deprecated.** Use OrbiterPosition instead. |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.EndTop` | **This object is deprecated.** Use OrbiterPosition instead. |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.Start` | **This object is deprecated.** Use OrbiterPosition instead. |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.StartBottom` | **This object is deprecated.** Use OrbiterPosition instead. |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.StartTop` | **This object is deprecated.** Use OrbiterPosition instead. |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.Top` | **This object is deprecated.** Use OrbiterPosition instead. |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.TopEnd` | **This object is deprecated.** Use OrbiterPosition instead. |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.TopStart` | **This object is deprecated.** Use OrbiterPosition instead. |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterDefaults` | Contains default values used by Orbiters. |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/SpatialElevationLevel` | Defines standardized resting elevation levels for spatial UI elements. |

## Annotations

|---|---|
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/ExperimentalFollowingSubspaceApi` | Marks Subspace APIs that are experimental and likely to change or be removed in the future. |

## Composables

|---|---|
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/FollowingSubspace.composable` | Create a user-centric 3D space that is ideal for spatial UI content that follows a target. |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/Orbiter.composable` |   |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/PlanarEmbeddedSubspace.composable` | Creates a 3D space for spatial content that is embedded within and positioned by a 2D container. |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/SpatialDialog.composable` | `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/SpatialDialog.composable#SpatialDialog(kotlin.Function0,androidx.xr.compose.spatial.SpatialDialogProperties,kotlin.Function0)` is a dialog that is elevated above the activity. |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/SpatialElevation.composable` | Composable that creates a panel in 3D space when spatialization is enabled. |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/SpatialPopup.composable` | A composable that creates a panel in 3D space to hoist Popup based composables. |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/Subspace.composable` | Create a 3D area that the app can render spatial content into. |