SpatialActivityDelegate

The SpatialActivityDelegate is responsible for providing the spatial content to the activity.

Types

Link copied to clipboard
object Companion

Factory methods for creating SpatialActivityDelegate instances.

Functions

Link copied to clipboard
abstract fun setSpatialContent()

Sets the spatial content to a custom activity. Like Activity.setContentView, this method should be called at Activity.onCreate. Be noticed that, when using a SpatialActivityDelegate, you should not call Activity.setContentView or ComponentActivity.setContent anymore.