Interface

SpatialCapabilities

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

Source set: Android
public sealed interface SpatialCapabilities

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

Properties

isSpatialUiEnabled

Source set: Android
public val isSpatialUiEnabled: Boolean

Indicates whether the application may create spatial UI elements (e.g. SpatialPanel).

This is a State-based value that should trigger recomposition in composable functions.

isContent3dEnabled

Source set: Android
public val isContent3dEnabled: Boolean

Indicates whether the application may create 3D objects.

This is a State-based value that should trigger recomposition in composable functions.

isAppEnvironmentEnabled

Source set: Android
public val isAppEnvironmentEnabled: Boolean

Indicates whether the application may set the environment.

This is a State-based value that should trigger recomposition in composable functions.

isPassthroughControlEnabled

Source set: Android
public val isPassthroughControlEnabled: Boolean

Indicates whether the application may control the passthrough state.

This is a State-based value that should trigger recomposition in composable functions.

isSpatialAudioEnabled

Source set: Android
public val isSpatialAudioEnabled: Boolean

Indicates whether the application may use spatial audio.

This is a State-based value that should trigger recomposition in composable functions.

Members

Companion

Source set: Android
public companion object

Properties

NoCapabilities

Source set: Android
public val NoCapabilities: SpatialCapabilities =
            StaticSpatialCapabilities(
                isSpatialUiEnabled = false,
                isContent3dEnabled = false,
                isAppEnvironmentEnabled = false,
                isPassthroughControlEnabled = false,
                isSpatialAudioEnabled = false,
            )
Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: