Class CreateScene.Builder
- java.lang.Object
-
- nl.harm27.obs.websocket.api.base.BaseBuilder
-
- nl.harm27.obs.websocket.api.requests.scenes.CreateScene.Builder
-
- Enclosing class:
- CreateScene
public static class CreateScene.Builder extends BaseBuilder
-
-
Constructor Summary
Constructors Constructor Description Builder(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.Request
batchMessage()
Batch the message to the OBS Studio instance.String
getSceneName()
Name of the scene to create.void
sendMessage(Consumer<CreateScene.Response> consumer)
Send the message to the OBS Studio instance.void
setSceneName(String sceneName)
Name of the scene to create.-
Methods inherited from class nl.harm27.obs.websocket.api.base.BaseBuilder
batchMessage, getNewMessageId, sendMessage
-
-
-
-
Constructor Detail
-
Builder
public Builder(BiConsumer<BaseRequest,Consumer<BaseResponse>> requestConsumer, Consumer<BaseRequest> batchConsumer, Supplier<String> messageIdSupplier)
-
-
Method Detail
-
getSceneName
public String getSceneName()
Name of the scene to create.
-
setSceneName
public void setSceneName(String sceneName)
Name of the scene to create.
-
sendMessage
public void sendMessage(Consumer<CreateScene.Response> consumer)
Send the message to the OBS Studio instance.
-
batchMessage
public CreateScene.Request batchMessage()
Batch the message to the OBS Studio instance.
-
-