Package nl.harm27.obs.websocket.listener
Class TransitionsEventListener
- java.lang.Object
-
- nl.harm27.obs.websocket.listener.TransitionsEventListener
-
- All Implemented Interfaces:
EventListener
public abstract class TransitionsEventListener extends Object implements EventListener
The EventListener for the events that are part of the Transitions category.
-
-
Constructor Summary
Constructors Constructor Description TransitionsEventListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
callEvent(BaseEvent baseEvent)
List<EventType>
getSupportedEvents()
void
switchTransition(SwitchTransition switchTransition)
The active transition has been changed.void
transitionBegin(TransitionBegin transitionBegin)
A transition (other than "cut") has begun.void
transitionDurationChanged(TransitionDurationChanged transitionDurationChanged)
The active transition duration has been changed.void
transitionEnd(TransitionEnd transitionEnd)
A transition (other than "cut") has ended.void
transitionListChanged(TransitionListChanged transitionListChanged)
The list of available transitions has been modified.void
transitionVideoEnd(TransitionVideoEnd transitionVideoEnd)
A stinger transition has finished playing its video.
-
-
-
Method Detail
-
switchTransition
public void switchTransition(SwitchTransition switchTransition)
The active transition has been changed.- Parameters:
switchTransition
- The received event.- Since:
- 4.0.0
- See Also:
- OBS WebSocket Documentation
-
transitionListChanged
public void transitionListChanged(TransitionListChanged transitionListChanged)
The list of available transitions has been modified. Transitions have been added, removed, or renamed.- Parameters:
transitionListChanged
- The received event.- Since:
- 4.0.0
- See Also:
- OBS WebSocket Documentation
-
transitionDurationChanged
public void transitionDurationChanged(TransitionDurationChanged transitionDurationChanged)
The active transition duration has been changed.- Parameters:
transitionDurationChanged
- The received event.- Since:
- 4.0.0
- See Also:
- OBS WebSocket Documentation
-
transitionBegin
public void transitionBegin(TransitionBegin transitionBegin)
A transition (other than "cut") has begun.- Parameters:
transitionBegin
- The received event.- Since:
- 4.0.0
- See Also:
- OBS WebSocket Documentation
-
transitionEnd
public void transitionEnd(TransitionEnd transitionEnd)
A transition (other than "cut") has ended. Note: The `from-scene` field is not available in TransitionEnd.- Parameters:
transitionEnd
- The received event.- Since:
- 4.8.0
- See Also:
- OBS WebSocket Documentation
-
transitionVideoEnd
public void transitionVideoEnd(TransitionVideoEnd transitionVideoEnd)
A stinger transition has finished playing its video.- Parameters:
transitionVideoEnd
- The received event.- Since:
- 4.8.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
-
-