Package nl.harm27.obs.websocket.listener
Class StudioModeEventListener
- java.lang.Object
-
- nl.harm27.obs.websocket.listener.StudioModeEventListener
-
- All Implemented Interfaces:
EventListener
public abstract class StudioModeEventListener extends Object implements EventListener
The EventListener for the events that are part of the Studio mode category.
-
-
Constructor Summary
Constructors Constructor Description StudioModeEventListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
callEvent(BaseEvent baseEvent)
List<EventType>
getSupportedEvents()
void
previewSceneChanged(PreviewSceneChanged previewSceneChanged)
The selected preview scene has changed (only available in Studio Mode).void
studioModeSwitched(StudioModeSwitched studioModeSwitched)
Studio Mode has been enabled or disabled.
-
-
-
Method Detail
-
previewSceneChanged
public void previewSceneChanged(PreviewSceneChanged previewSceneChanged)
The selected preview scene has changed (only available in Studio Mode).- Parameters:
previewSceneChanged
- The received event.- Since:
- 4.1.0
- See Also:
- OBS WebSocket Documentation
-
studioModeSwitched
public void studioModeSwitched(StudioModeSwitched studioModeSwitched)
Studio Mode has been enabled or disabled.- Parameters:
studioModeSwitched
- The received event.- Since:
- 4.1.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
-
-