Function

requestFullSpace

Request that the system places the application into full space mode.

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free

requestFullSpace

Android
public suspend fun ComponentActivity.requestFullSpace(): Unit

Request that the system places the application into full space mode.

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.

This suspend function will complete once the application has successfully entered full space. Cancelling this suspend function does not cancel the request to switch spaces. This should not throw any exceptions and will do nothing on devices that do not support XR spaces. This request will be cancelled if requestFullSpace or requestHomeSpace is called before this request completes.

See modes in XR.