Method GetInputPropertiesListPropertyItems
- Namespace
- OBSStudioClient
- Assembly
- OBSClient.dll
GetInputPropertiesListPropertyItems(InputRef, string, CancellationToken)
Gets the items of a list property from an input's properties.
public Task<PropertyItem[]> GetInputPropertiesListPropertyItems(InputRef input, string propertyName, CancellationToken cancellationToken = default)
Parameters
inputInputRefThe input, by name or by UUID.
propertyNamestringName of the list property to get the items of.
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
- Task<PropertyItem[]>
Array of items in the list property.
Remarks
Note: Use this in cases where an input provides a dynamic, selectable list of items. For example, display capture, where it provides a list of available displays.