androidx.xr.compose.spatial

Interfaces

ContentEdge

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

OrbiterPoseProvider

Calculates the Pose of an Orbiter in 3D space relative to its spatial parent.

Classes

ContentEdge.Horizontal
ContentEdge.Vertical

Represents vertical edges (start or end).

OrbiterAlignment

Represents the alignment and offset configuration for an Orbiter in relation to the parent.

OrbiterAlignment.BottomCenter

Bottom-Center edge alignment.

OrbiterAlignment.BottomEnd

Bottom-End edge alignment.

OrbiterAlignment.BottomLeft

Bottom-Left absolute edge alignment.

OrbiterAlignment.BottomRight

Bottom-Right absolute edge alignment.

OrbiterAlignment.BottomStart

Bottom-Start edge alignment.

OrbiterAlignment.Center

The center of the parent (non-edge).

OrbiterAlignment.CenterEnd

Center-End edge alignment.

OrbiterAlignment.CenterLeft

Center-Left absolute edge alignment.

OrbiterAlignment.CenterRight

Center-Right absolute edge alignment.

OrbiterAlignment.CenterStart

Center-Start edge alignment.

OrbiterAlignment.TopCenter

Top-Center edge alignment.

OrbiterAlignment.TopEnd

Top-End edge alignment.

OrbiterAlignment.TopLeft

Top-Left absolute edge alignment.

OrbiterAlignment.TopRight

Top-Right absolute edge alignment.

OrbiterAlignment.TopStart

Top-Start edge alignment.

OrbiterAnchorPoint

This class is deprecated. Use SpatialAlignment Orbiter API instead.

OrbiterAnchorPoint.Absolute

This class is deprecated. Use SpatialAlignment Orbiter API instead.

OrbiterEdgeOffsetType

Specifies orbiter boundary offset behavior relative to its parent's rectangular layout bounds.

OrbiterOffsetType

This class is deprecated. Use OrbiterEdgeOffsetType instead.

SpatialDialogProperties

Properties for configuring a SpatialDialog.

Objects

OrbiterAnchorPoint.Absolute.BottomLeft

This object is deprecated. Use SpatialAlignment Orbiter API instead.

OrbiterAnchorPoint.Absolute.BottomRight

This object is deprecated. Use SpatialAlignment Orbiter API instead.

OrbiterAnchorPoint.Absolute.Left

This object is deprecated. Use SpatialAlignment Orbiter API instead.

OrbiterAnchorPoint.Absolute.LeftBottom

This object is deprecated. Use SpatialAlignment Orbiter API instead.

OrbiterAnchorPoint.Absolute.LeftTop

This object is deprecated. Use SpatialAlignment Orbiter API instead.

OrbiterAnchorPoint.Absolute.Right

This object is deprecated. Use SpatialAlignment Orbiter API instead.

OrbiterAnchorPoint.Absolute.RightBottom

This object is deprecated. Use SpatialAlignment Orbiter API instead.

OrbiterAnchorPoint.Absolute.RightTop

This object is deprecated. Use SpatialAlignment Orbiter API instead.

OrbiterAnchorPoint.Absolute.TopLeft

This object is deprecated. Use SpatialAlignment Orbiter API instead.

OrbiterAnchorPoint.Absolute.TopRight

This object is deprecated. Use SpatialAlignment Orbiter API instead.

OrbiterAnchorPoint.Bottom

This object is deprecated. Use SpatialAlignment Orbiter API instead.

OrbiterAnchorPoint.BottomEnd

This object is deprecated. Use SpatialAlignment Orbiter API instead.

OrbiterAnchorPoint.BottomStart

This object is deprecated. Use SpatialAlignment Orbiter API instead.

OrbiterAnchorPoint.End

This object is deprecated. Use SpatialAlignment Orbiter API instead.

OrbiterAnchorPoint.EndBottom

This object is deprecated. Use SpatialAlignment Orbiter API instead.

OrbiterAnchorPoint.EndTop

This object is deprecated. Use SpatialAlignment Orbiter API instead.

OrbiterAnchorPoint.Start

This object is deprecated. Use SpatialAlignment Orbiter API instead.

OrbiterAnchorPoint.StartBottom

This object is deprecated. Use SpatialAlignment Orbiter API instead.

OrbiterAnchorPoint.StartTop

This object is deprecated. Use SpatialAlignment Orbiter API instead.

OrbiterAnchorPoint.Top

This object is deprecated. Use SpatialAlignment Orbiter API instead.

OrbiterAnchorPoint.TopEnd

This object is deprecated. Use SpatialAlignment Orbiter API instead.

OrbiterAnchorPoint.TopStart

This object is deprecated. Use SpatialAlignment Orbiter API instead.

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 edge or center of a parent spatial component.

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.