-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed issues with ToggleRecord and ToggleRecordPause #4
- Loading branch information
Showing
8 changed files
with
226 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
namespace OBSStudioClient.Messages | ||
{ | ||
using OBSStudioClient.Interfaces; | ||
using System.Text.Json.Serialization; | ||
|
||
/// <summary> | ||
/// Provides the Response Data (<see cref="IResponse"/>) in the Response Message (<see cref="IMessage"/>) returned by OBS Studio after sending a successful ToggleRecordPaused request. | ||
/// </summary> | ||
public class OutputPausedResponse : IResponse | ||
{ | ||
/// <summary> | ||
/// Gets a value indicating whether the output is active. | ||
/// </summary> | ||
[JsonPropertyName("outputPaused")] | ||
public bool OutputPaused { get; } | ||
|
||
/// <summary> | ||
/// Initializes a new instance of the <see cref="OutputPausedResponse"/> class. | ||
/// </summary> | ||
/// <param name="outputPaused">a value indicating whether the output is paused.</param> | ||
[JsonConstructor] | ||
public OutputPausedResponse(bool outputPaused) | ||
{ | ||
this.OutputPaused = outputPaused; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters