Package nl.harm27.obs.websocket.listener
Class ScenesEventListener
- java.lang.Object
-
- nl.harm27.obs.websocket.listener.ScenesEventListener
-
- All Implemented Interfaces:
EventListener
public abstract class ScenesEventListener extends Object implements EventListener
The EventListener for the events that are part of the Scenes category.
-
-
Constructor Summary
Constructors Constructor Description ScenesEventListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
callEvent(BaseEvent baseEvent)
List<EventType>
getSupportedEvents()
void
sceneCollectionChanged(SceneCollectionChanged sceneCollectionChanged)
Triggered when switching to another scene collection or when renaming the current scene collection.void
sceneCollectionListChanged(SceneCollectionListChanged sceneCollectionListChanged)
Triggered when a scene collection is created, added, renamed, or removed.void
scenesChanged(ScenesChanged scenesChanged)
Note: This event is not fired when the scenes are reordered.void
switchScenes(SwitchScenes switchScenes)
Indicates a scene change.
-
-
-
Method Detail
-
switchScenes
public void switchScenes(SwitchScenes switchScenes)
Indicates a scene change.- Parameters:
switchScenes
- The received event.- Since:
- 0.3
- See Also:
- OBS WebSocket Documentation
-
scenesChanged
public void scenesChanged(ScenesChanged scenesChanged)
Note: This event is not fired when the scenes are reordered.- Parameters:
scenesChanged
- The received event.- Since:
- 0.3
- See Also:
- OBS WebSocket Documentation
-
sceneCollectionChanged
public void sceneCollectionChanged(SceneCollectionChanged sceneCollectionChanged)
Triggered when switching to another scene collection or when renaming the current scene collection.- Parameters:
sceneCollectionChanged
- The received event.- Since:
- 4.0.0
- See Also:
- OBS WebSocket Documentation
-
sceneCollectionListChanged
public void sceneCollectionListChanged(SceneCollectionListChanged sceneCollectionListChanged)
Triggered when a scene collection is created, added, renamed, or removed.- Parameters:
sceneCollectionListChanged
- The received event.- Since:
- 4.0.0
- See Also:
- OBS WebSocket Documentation
-
callEvent
public final void callEvent(BaseEvent baseEvent)
- Specified by:
callEvent
in interfaceEventListener
-
getSupportedEvents
public final List<EventType> getSupportedEvents()
- Specified by:
getSupportedEvents
in interfaceEventListener
-
-