Class SetTransitionSettings.Builder
- java.lang.Object
-
- nl.harm27.obs.websocket.api.base.BaseBuilder
-
- nl.harm27.obs.websocket.api.requests.transitions.SetTransitionSettings.Builder
-
- Enclosing class:
- SetTransitionSettings
public static class SetTransitionSettings.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 SetTransitionSettings.Request
batchMessage()
Batch the message to the OBS Studio instance.String
getTransitionName()
Transition nameObject
getTransitionSettings()
Transition settings (they can be partial)void
sendMessage(Consumer<SetTransitionSettings.Response> consumer)
Send the message to the OBS Studio instance.void
setTransitionName(String transitionName)
Transition namevoid
setTransitionSettings(Object transitionSettings)
Transition settings (they can be partial)-
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()
Transition name
-
setTransitionName
public void setTransitionName(String transitionName)
Transition name
-
getTransitionSettings
public Object getTransitionSettings()
Transition settings (they can be partial)
-
setTransitionSettings
public void setTransitionSettings(Object transitionSettings)
Transition settings (they can be partial)
-
sendMessage
public void sendMessage(Consumer<SetTransitionSettings.Response> consumer)
Send the message to the OBS Studio instance.
-
batchMessage
public SetTransitionSettings.Request batchMessage()
Batch the message to the OBS Studio instance.
-
-