Package nl.harm27.obs.websocket.sender
Class ProfilesRequestSender
- java.lang.Object
-
- nl.harm27.obs.websocket.sender.RequestSender
-
- nl.harm27.obs.websocket.sender.ProfilesRequestSender
-
public class ProfilesRequestSender extends RequestSender
-
-
Constructor Summary
Constructors Constructor Description ProfilesRequestSender(BiConsumer<BaseRequest,Consumer<BaseResponse>> requestConsumer, Consumer<BaseRequest> batchConsumer, Supplier<String> messageIdSupplier)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetCurrentProfile.Builder
getCurrentProfile()
Get the name of the current profile.ListProfiles.Builder
listProfiles()
Get a list of available profiles.SetCurrentProfile.Builder
setCurrentProfile()
Set the currently active profile.-
Methods inherited from class nl.harm27.obs.websocket.sender.RequestSender
batchMessage, getNewMessageId, sendMessage
-
-
-
-
Constructor Detail
-
ProfilesRequestSender
public ProfilesRequestSender(BiConsumer<BaseRequest,Consumer<BaseResponse>> requestConsumer, Consumer<BaseRequest> batchConsumer, Supplier<String> messageIdSupplier)
-
-
Method Detail
-
setCurrentProfile
public SetCurrentProfile.Builder setCurrentProfile()
Set the currently active profile.- Since:
- 4.0.0
- See Also:
- OBS WebSocket Documentation
-
getCurrentProfile
public GetCurrentProfile.Builder getCurrentProfile()
Get the name of the current profile.- Since:
- 4.0.0
- See Also:
- OBS WebSocket Documentation
-
listProfiles
public ListProfiles.Builder listProfiles()
Get a list of available profiles.- Since:
- 4.0.0
- See Also:
- OBS WebSocket Documentation
-
-