Table of Contents

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

position float

New position. Restrictions: >= 0.0, <= 1.0.

release bool?

Whether to release the TBar. Only set false if you know that you will be sending another position update. If omitted: true.

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

**Very important note**: This will be deprecated and replaced in a future version of obs-websocket.