Class SetMute.Builder
- java.lang.Object
-
- nl.harm27.obs.websocket.api.base.BaseBuilder
-
- nl.harm27.obs.websocket.api.requests.sources.SetMute.Builder
-
- Enclosing class:
- SetMute
public static class SetMute.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 SetMute.Request
batchMessage()
Batch the message to the OBS Studio instance.String
getSource()
Source name.boolean
isMute()
Desired mute status.void
sendMessage(Consumer<SetMute.Response> consumer)
Send the message to the OBS Studio instance.void
setMute(boolean mute)
Desired mute status.void
setSource(String source)
Source 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
-
getSource
public String getSource()
Source name.
-
setSource
public void setSource(String source)
Source name.
-
isMute
public boolean isMute()
Desired mute status.
-
setMute
public void setMute(boolean mute)
Desired mute status.
-
sendMessage
public void sendMessage(Consumer<SetMute.Response> consumer)
Send the message to the OBS Studio instance.
-
batchMessage
public SetMute.Request batchMessage()
Batch the message to the OBS Studio instance.
-
-