Source set: Android
public val LocalSpatialCapabilities: ProvidableCompositionLocal<SpatialCapabilities> =
compositionLocalWithComputedDefaultOf {
LocalComposeXrOwners.currentValue.spatialCapabilities ?: SpatialCapabilities.NoCapabilities
}
Provides the current SpatialCapabilities that are currently available to the application.
The SpatialCapabilities represents a set of inherent permissions that the application may have depending on the context. For example, in home space mode, the app may not have the ability to create spatial UI; however, in full space mode, the application may have this capability.