SpatialCapabilities


class SpatialCapabilities


Representation of the spatial capabilities of the current session.

Summary

Constants

const Int

The activity can create 3D contents.

const Int

The activity can set its own environment.

const Int

The activity can spatially embed another activity.

const Int

The activity can enable or disable passthrough.

const Int

The activity can use spatial audio.

const Int

The activity can spatialize itself by e.g. adding a spatial panel.

Public constructors

SpatialCapabilities(capabilities: Int)

Public functions

open operator Boolean
equals(other: Any?)
Boolean
hasCapability(capability: Int)
open Int

Constants

SPATIAL_CAPABILITY_3D_CONTENT

const val SPATIAL_CAPABILITY_3D_CONTENTInt

The activity can create 3D contents.

SPATIAL_CAPABILITY_APP_ENVIRONMENT

const val SPATIAL_CAPABILITY_APP_ENVIRONMENTInt

The activity can set its own environment.

SPATIAL_CAPABILITY_EMBED_ACTIVITY

const val SPATIAL_CAPABILITY_EMBED_ACTIVITYInt

The activity can spatially embed another activity.

SPATIAL_CAPABILITY_PASSTHROUGH_CONTROL

const val SPATIAL_CAPABILITY_PASSTHROUGH_CONTROLInt

The activity can enable or disable passthrough.

SPATIAL_CAPABILITY_SPATIAL_AUDIO

const val SPATIAL_CAPABILITY_SPATIAL_AUDIOInt

The activity can use spatial audio.

SPATIAL_CAPABILITY_UI

const val SPATIAL_CAPABILITY_UIInt

The activity can spatialize itself by e.g. adding a spatial panel.

Public constructors

SpatialCapabilities

Added in 1.0.0-alpha01
SpatialCapabilities(capabilities: Int)

Public functions

equals

open operator fun equals(other: Any?): Boolean

hasCapability

Added in 1.0.0-alpha01
fun hasCapability(capability: Int): Boolean

hashCode

open fun hashCode(): Int