Class TransitionBegin
- java.lang.Object
-
- nl.harm27.obs.websocket.api.base.BaseEvent
-
- nl.harm27.obs.websocket.api.events.transitions.TransitionBegin
-
public class TransitionBegin extends BaseEvent
A transition (other than "cut") has begun.- Since:
- 4.0.0
- See Also:
- OBS WebSocket Documentation
-
-
Constructor Summary
Constructors Constructor Description TransitionBegin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getDuration()
Transition duration (in milliseconds).Optional<String>
getFromScene()
Source scene of the transitionString
getName()
Transition name.String
getToScene()
Destination scene of the transitionString
getType()
Transition type.-
Methods inherited from class nl.harm27.obs.websocket.api.base.BaseEvent
getRecordingDuration, getRecordingTimecode, getStreamDuration, getStreamTimecode, getUpdateType
-
-
-
-
Method Detail
-
getName
public String getName()
Transition name.
-
getType
public String getType()
Transition type.
-
getDuration
public int getDuration()
Transition duration (in milliseconds). Will be -1 for any transition with a fixed duration, such as a Stinger, due to limitations of the OBS API.
-
getToScene
public String getToScene()
Destination scene of the transition
-
-