Interface

SpatialConfiguration

Provides information and functionality related to the spatial configuration of the application.

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free
Android
public sealed interface SpatialConfiguration

Provides information and functionality related to the spatial configuration of the application.

Functions

requestHomeSpaceMode

public fun requestHomeSpaceMode()

Request that the system places the application into home space mode. This will execute asynchronously. If it completes successfully then bounds will change. This method will throw an UnsupportedOperationException if the application is not in an XR environment.

In home space, the visible space may be shared with other applications; however, applications in home space will have their spatial capabilities and physical bounds limited.

See modes in XR.


requestFullSpaceMode

public fun requestFullSpaceMode()

Request that the system places the application into full space mode. This will execute asynchronously. If it completes successfully then bounds will change. This method will throw an UnsupportedOperationException if the application is not in an XR environment.

In full space, this application will be the only application in the visible space, its spatial capabilities will be expanded, and its physical bounds will expand to fill the entire virtual space.

See modes in XR.