SpatialContainerStateObservable
Used to receive SpatialContainer's SpatialContainerState change and dispatch it to observers.
Properties
Link copied to clipboard
The current SpatialContainerState of the SpatialContainerStateObservable.
Link copied to clipboard
The initial SpatialContainerState of the SpatialContainerStateObservable.
Functions
Link copied to clipboard
Adds an observer for a spatial container's state.
Link copied to clipboard
Override this function to get the new SpatialContainerState when it changes.
Link copied to clipboard
Manually refreshes the state of the SpatialContainer when state change events are missed. For example, you can call this function when default WindowContainer's state has changed before the first android.app.Activity listens to it.
Link copied to clipboard
Removes the observer for SpatialContainerStateObserver.