Table of Contents

Method SetCurrentSceneCollection

Namespace
OBSStudioClient
Assembly
OBSClient.dll

SetCurrentSceneCollection(string, CancellationToken)

Switches to a scene collection.

public Task SetCurrentSceneCollection(string sceneCollectionName, CancellationToken cancellationToken = default)

Parameters

sceneCollectionName string

Name of the scene collection to switch to.

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

Note: This will block until the collection has finished changing.