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