Class SetFilenameFormatting.Builder
- java.lang.Object
-
- nl.harm27.obs.websocket.api.base.BaseBuilder
-
- nl.harm27.obs.websocket.api.requests.general.SetFilenameFormatting.Builder
-
- Enclosing class:
- SetFilenameFormatting
public static class SetFilenameFormatting.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 SetFilenameFormatting.Request
batchMessage()
Batch the message to the OBS Studio instance.String
getFilenameFormatting()
Filename formatting string to set.void
sendMessage(Consumer<SetFilenameFormatting.Response> consumer)
Send the message to the OBS Studio instance.void
setFilenameFormatting(String filenameFormatting)
Filename formatting string to set.-
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
-
getFilenameFormatting
public String getFilenameFormatting()
Filename formatting string to set.
-
setFilenameFormatting
public void setFilenameFormatting(String filenameFormatting)
Filename formatting string to set.
-
sendMessage
public void sendMessage(Consumer<SetFilenameFormatting.Response> consumer)
Send the message to the OBS Studio instance.
-
batchMessage
public SetFilenameFormatting.Request batchMessage()
Batch the message to the OBS Studio instance.
-
-