Class SetRecordingFolder.Builder
- java.lang.Object
-
- nl.harm27.obs.websocket.api.base.BaseBuilder
-
- nl.harm27.obs.websocket.api.requests.recording.SetRecordingFolder.Builder
-
- Enclosing class:
- SetRecordingFolder
public static class SetRecordingFolder.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 SetRecordingFolder.Request
batchMessage()
Batch the message to the OBS Studio instance.String
getRecFolder()
Path of the recording folder.void
sendMessage(Consumer<SetRecordingFolder.Response> consumer)
Send the message to the OBS Studio instance.void
setRecFolder(String recFolder)
Path of the recording folder.-
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
-
getRecFolder
public String getRecFolder()
Path of the recording folder.
-
setRecFolder
public void setRecFolder(String recFolder)
Path of the recording folder.
-
sendMessage
public void sendMessage(Consumer<SetRecordingFolder.Response> consumer)
Send the message to the OBS Studio instance.
-
batchMessage
public SetRecordingFolder.Request batchMessage()
Batch the message to the OBS Studio instance.
-
-