Package nl.harm27.obs.websocket.sender
Class ScenesRequestSender
- java.lang.Object
-
- nl.harm27.obs.websocket.sender.RequestSender
-
- nl.harm27.obs.websocket.sender.ScenesRequestSender
-
public class ScenesRequestSender extends RequestSender
-
-
Constructor Summary
Constructors Constructor Description ScenesRequestSender(BiConsumer<BaseRequest,Consumer<BaseResponse>> requestConsumer, Consumer<BaseRequest> batchConsumer, Supplier<String> messageIdSupplier)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateScene.Builder
createScene()
Create a new scene scene.GetCurrentScene.Builder
getCurrentScene()
Get the current scene's name and source items.GetSceneList.Builder
getSceneList()
Get a list of scenes in the currently active profile.GetSceneTransitionOverride.Builder
getSceneTransitionOverride()
Get the current scene transition override.RemoveSceneTransitionOverride.Builder
removeSceneTransitionOverride()
Remove any transition override on a scene.ReorderSceneItems.Builder
reorderSceneItems()
Changes the order of scene items in the requested scene.SetCurrentScene.Builder
setCurrentScene()
Switch to the specified scene.SetSceneTransitionOverride.Builder
setSceneTransitionOverride()
Set a scene to use a specific transition override.-
Methods inherited from class nl.harm27.obs.websocket.sender.RequestSender
batchMessage, getNewMessageId, sendMessage
-
-
-
-
Constructor Detail
-
ScenesRequestSender
public ScenesRequestSender(BiConsumer<BaseRequest,Consumer<BaseResponse>> requestConsumer, Consumer<BaseRequest> batchConsumer, Supplier<String> messageIdSupplier)
-
-
Method Detail
-
setCurrentScene
public SetCurrentScene.Builder setCurrentScene()
Switch to the specified scene.- Since:
- 0.3
- See Also:
- OBS WebSocket Documentation
-
getCurrentScene
public GetCurrentScene.Builder getCurrentScene()
Get the current scene's name and source items.- Since:
- 0.3
- See Also:
- OBS WebSocket Documentation
-
getSceneList
public GetSceneList.Builder getSceneList()
Get a list of scenes in the currently active profile.- Since:
- 0.3
- See Also:
- OBS WebSocket Documentation
-
createScene
public CreateScene.Builder createScene()
Create a new scene scene.- Since:
- 4.9.0
- See Also:
- OBS WebSocket Documentation
-
reorderSceneItems
public ReorderSceneItems.Builder reorderSceneItems()
Changes the order of scene items in the requested scene.- Since:
- 4.5.0
- See Also:
- OBS WebSocket Documentation
-
setSceneTransitionOverride
public SetSceneTransitionOverride.Builder setSceneTransitionOverride()
Set a scene to use a specific transition override.- Since:
- 4.8.0
- See Also:
- OBS WebSocket Documentation
-
removeSceneTransitionOverride
public RemoveSceneTransitionOverride.Builder removeSceneTransitionOverride()
Remove any transition override on a scene.- Since:
- 4.8.0
- See Also:
- OBS WebSocket Documentation
-
getSceneTransitionOverride
public GetSceneTransitionOverride.Builder getSceneTransitionOverride()
Get the current scene transition override.- Since:
- 4.8.0
- See Also:
- OBS WebSocket Documentation
-
-