androidx.xr.compose.spatial

Interfaces

ContentEdge

An enum that represents the edges of a view where an orbiter can be placed.

Classes

ContentEdge.Horizontal
ContentEdge.Vertical

Represents vertical edges (start or end).

OrbiterOffsetType

Represents the type of offset used for positioning an orbiter.

SpatialDialogProperties

Properties for configuring a SpatialDialog.

Objects

OrbiterDefaults

Contains default values used by Orbiters.

SpatialElevationLevel

Defines standardized resting elevation levels for spatial UI elements.

Annotations

ExperimentalFollowingSubspaceApi

Marks Subspace APIs that are experimental and likely to change or be removed in the future.

Composables

FollowingSubspace

Create a user-centric 3D space that is ideal for spatial UI content that follows a target.

Orbiter

A composable that creates an orbiter along the top or bottom edges of a view.

PlanarEmbeddedSubspace

Creates a 3D space for spatial content that is embedded within and positioned by a 2D container.

SpatialDialog

SpatialDialog is a dialog that is elevated above the activity.

SpatialElevation

Composable that creates a panel in 3D space when spatialization is enabled.

SpatialPopup

A composable that creates a panel in 3D space to hoist Popup based composables.

Subspace

Create a 3D area that the app can render spatial content into.