Method SetTBarPosition
- Namespace
- OBSStudioClient
- Assembly
- OBSClient.dll
SetTBarPosition(float, bool?, CancellationToken)
Sets the position of the TBar.
public Task SetTBarPosition(float position, bool? release = null, CancellationToken cancellationToken = default)
Parameters
positionfloatNew position. Restrictions: >= 0.0, <= 1.0.
releasebool?Whether to release the TBar. Only set
falseif you know that you will be sending another position update. If omitted:true.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
**Very important note**: This will be deprecated and replaced in a future version of obs-websocket.