Class SetCurrentSceneCollection.Builder
- java.lang.Object
-
- nl.harm27.obs.websocket.api.base.BaseBuilder
-
- nl.harm27.obs.websocket.api.requests.scenecollections.SetCurrentSceneCollection.Builder
-
- Enclosing class:
- SetCurrentSceneCollection
public static class SetCurrentSceneCollection.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 SetCurrentSceneCollection.RequestbatchMessage()Batch the message to the OBS Studio instance.StringgetScName()Name of the desired scene collection.voidsendMessage(Consumer<SetCurrentSceneCollection.Response> consumer)Send the message to the OBS Studio instance.voidsetScName(String scName)Name of the desired scene collection.-
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
-
getScName
public String getScName()
Name of the desired scene collection.
-
setScName
public void setScName(String scName)
Name of the desired scene collection.
-
sendMessage
public void sendMessage(Consumer<SetCurrentSceneCollection.Response> consumer)
Send the message to the OBS Studio instance.
-
batchMessage
public SetCurrentSceneCollection.Request batchMessage()
Batch the message to the OBS Studio instance.
-
-