Package-level declarations

Types

Link copied to clipboard

Declares the caption bar display behavior for WindowContainer.

Link copied to clipboard

Declares the resize restriction for WindowContainer.

Link copied to clipboard

ContainerResizeType is used to declare the resize type of WindowContainer, it contains three types:

Link copied to clipboard
class ExpandableViewState(initialWidth: Dp, initialHeight: Dp, initialExpanded: Boolean = false, context: Context, density: Density)

State holder for the expandable XR scene component.

Link copied to clipboard

Utility class for managing Spatial Container size and properties.

Link copied to clipboard

Declares the volume base panel type for WindowContainer.

Link copied to clipboard

Interface representing the scope of constraints for the WindowContainer.

Functions

Link copied to clipboard
@Composable
fun WindowContainerConstraintsScope.ExpandableView(modifier: Modifier = Modifier, state: ExpandableViewState = rememberExpandableViewState(), mainContent: @Composable (state: ExpandableViewState) -> Unit, expandedPanel: @Composable (state: ExpandableViewState) -> Unit)

A ready-to-use expandable window container component.

Link copied to clipboard
@Composable
fun rememberExpandableViewState(initialExpanded: Boolean = false): ExpandableViewState

Remembers a ExpandableViewState. By default, the initial size is set to the current screen (window) configuration.