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 voidcallEvent(BaseEvent baseEvent)List<EventType>getSupportedEvents()voidswitchTransition(SwitchTransition switchTransition)The active transition has been changed.voidtransitionBegin(TransitionBegin transitionBegin)A transition (other than "cut") has begun.voidtransitionDurationChanged(TransitionDurationChanged transitionDurationChanged)The active transition duration has been changed.voidtransitionEnd(TransitionEnd transitionEnd)A transition (other than "cut") has ended.voidtransitionListChanged(TransitionListChanged transitionListChanged)The list of available transitions has been modified.voidtransitionVideoEnd(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:
callEventin interfaceEventListener
-
getSupportedEvents
public final List<EventType> getSupportedEvents()
- Specified by:
getSupportedEventsin interfaceEventListener
-
-