Interface IStageObserverCollection
Represents a container of IStageObserver that are used to determine which data to load on the stage instance.
Namespace: Unity.Cloud.DataStreaming.Runtime
Assembly: Unity.Cloud.DataStreaming.Runtime.dll
Syntax
public interface IStageObserverCollection
Methods
Add(IStageObserver)
Adds an observer to the stage.
Declaration
void Add(IStageObserver observer)
Parameters
| Type | Name | Description |
|---|---|---|
| IStageObserver | observer | The observer to add. |
Exceptions
| Type | Condition |
|---|---|
| ArgumentException | The |
Remove(IStageObserver)
Removes an observer from the stage.
Declaration
void Remove(IStageObserver observer)
Parameters
| Type | Name | Description |
|---|---|---|
| IStageObserver | observer | The observer to remove. |