Method PressInputPropertiesButton
- Namespace
- OBSStudioClient
- Assembly
- OBSClient.dll
PressInputPropertiesButton(InputRef, string, CancellationToken)
Presses a button in the properties of an input.
public Task PressInputPropertiesButton(InputRef input, string propertyName, CancellationToken cancellationToken = default)
Parameters
inputInputRefThe input, by name or by UUID.
propertyNamestringName of the button property to press.
cancellationTokenCancellationTokenA token that ends the wait for the response, which makes the method throw an OperationCanceledException. A request that was already sent is not undone: OBS Studio may still carry it out.
Returns
Remarks
Some known propertyName values are:.
- refreshnocache - Browser source reload button.
Note: Use this in cases where there is a button in the properties of an input that cannot be accessed in any other way. For example, browser sources, where there is a refresh button.