SpatialContainer

sealed class SpatialContainer(val name: String, containerId: Int) : SpatialContainerStateOwner

The base class of a SpatialContainer. It can be a WindowContainer or a Stage.

Parameters

name

The name of the SpatialContainer. Different types of SpatialContainers can share the same name, the same type of SpatialContainers should use unique names when defined in android.app.Application scope.

containerId

The unique ID of the SpatialContainer.

Constructors

Link copied to clipboard
protected constructor(name: String, containerId: Int)

Properties

Link copied to clipboard
open override val name: String
Link copied to clipboard

For receiving the SpatialContainerState of SpatialContainer and dispatching it to observers.

Link copied to clipboard

The type of the SpatialContainer.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open fun onCreate()

The callback for the creation of SpatialContainer.

Link copied to clipboard
open fun onDestroy()

The callback for the destroy of SpatialContainer.

Link copied to clipboard
open override fun toString(): String