Class TransitionToProgram.Builder
- java.lang.Object
- 
- nl.harm27.obs.websocket.api.base.BaseBuilder
- 
- nl.harm27.obs.websocket.api.requests.studiomode.TransitionToProgram.Builder
 
 
- 
- Enclosing class:
- TransitionToProgram
 
 public static class TransitionToProgram.Builder extends BaseBuilder 
- 
- 
Constructor SummaryConstructors Constructor Description Builder(BiConsumer<BaseRequest,Consumer<BaseResponse>> requestConsumer, Consumer<BaseRequest> batchConsumer, Supplier<String> messageIdSupplier)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description TransitionToProgram.RequestbatchMessage()Batch the message to the OBS Studio instance.Optional<TransitionToProgram.WithTransition>getWithTransition()Change the active transition before switching scenes.voidsendMessage(Consumer<TransitionToProgram.Response> consumer)Send the message to the OBS Studio instance.voidsetWithTransition(TransitionToProgram.WithTransition withTransition)Change the active transition before switching scenes.- 
Methods inherited from class nl.harm27.obs.websocket.api.base.BaseBuilderbatchMessage, getNewMessageId, sendMessage
 
- 
 
- 
- 
- 
Constructor Detail- 
Builderpublic Builder(BiConsumer<BaseRequest,Consumer<BaseResponse>> requestConsumer, Consumer<BaseRequest> batchConsumer, Supplier<String> messageIdSupplier) 
 
- 
 - 
Method Detail- 
getWithTransitionpublic Optional<TransitionToProgram.WithTransition> getWithTransition() Change the active transition before switching scenes. Defaults to the active transition.
 - 
setWithTransitionpublic void setWithTransition(TransitionToProgram.WithTransition withTransition) Change the active transition before switching scenes. Defaults to the active transition.
 - 
sendMessagepublic void sendMessage(Consumer<TransitionToProgram.Response> consumer) Send the message to the OBS Studio instance.
 - 
batchMessagepublic TransitionToProgram.Request batchMessage() Batch the message to the OBS Studio instance.
 
- 
 
-