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