Table of Contents

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

input InputRef

The input, by name or by UUID.

propertyName string

Name of the button property to press.

cancellationToken CancellationToken

A 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

Task

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.