SpatialActivityPanel
Source set: Android
@Composable
public fun SpatialActivityPanel(
controller: SpatialActivityPanelController,
modifier: SubspaceModifier = SubspaceModifier,
shape: SpatialShape = SpatialPanelDefaults.shape,
)
Creates a SpatialActivityPanel that launches and displays an Activity within it.
This SpatialActivityPanel can render any Activity that the application has permission to invoke as an embedded activity.
The panel size is determined solely by the layout constraints and the provided modifier it does not resize based on the activity content.
Parameters
| controller | The SpatialActivityPanelController used to manage the Activities displayed within this panel. It provides a mechanism to queue and dispatch android.content.Intents to the embedded Activity environment. |
| modifier | SubspaceModifiers to apply to the SpatialPanel. The layout size of the panel will dictate the viewport size allocated to the embedded Activity. |
| shape | The shape of this Spatial Panel. |