Class SetCurrentTransition.Builder
- java.lang.Object
-
- nl.harm27.obs.websocket.api.base.BaseBuilder
-
- nl.harm27.obs.websocket.api.requests.transitions.SetCurrentTransition.Builder
-
- Enclosing class:
- SetCurrentTransition
public static class SetCurrentTransition.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 SetCurrentTransition.Request
batchMessage()
Batch the message to the OBS Studio instance.String
getTransitionName()
The name of the transition.void
sendMessage(Consumer<SetCurrentTransition.Response> consumer)
Send the message to the OBS Studio instance.void
setTransitionName(String transitionName)
The name of the transition.-
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
-
getTransitionName
public String getTransitionName()
The name of the transition.
-
setTransitionName
public void setTransitionName(String transitionName)
The name of the transition.
-
sendMessage
public void sendMessage(Consumer<SetCurrentTransition.Response> consumer)
Send the message to the OBS Studio instance.
-
batchMessage
public SetCurrentTransition.Request batchMessage()
Batch the message to the OBS Studio instance.
-
-