FakeSystemSpaceEntity


open class FakeSystemSpaceEntity : FakeEntity

Known direct subclasses
FakeActivitySpace

Test-only implementation of ActivitySpace

FakeAnchorEntity

Test-only implementation of AnchorEntity


Test-only implementation of SystemSpaceEntity

Summary

Public constructors

Public functions

open Unit

Registers a listener to be called when the underlying space has moved or changed.

Public constructors

FakeSystemSpaceEntity

Added in 1.0.0-alpha04
FakeSystemSpaceEntity()

Public functions

setOnSpaceUpdatedListener

Added in 1.0.0-alpha04
open fun setOnSpaceUpdatedListener(
    listener: SystemSpaceEntity.OnSpaceUpdatedListener?,
    executor: Executor?
): Unit

Registers a listener to be called when the underlying space has moved or changed.

Parameters
listener: SystemSpaceEntity.OnSpaceUpdatedListener?

The listener to register if non-null, else stops listening if null.

executor: Executor?

The executor to run the listener on. Defaults to SceneCore executor if null.