Table of Contents

Method CreateSceneCollection

Namespace
OBSStudioClient
Assembly
OBSClient.dll

CreateSceneCollection(string, CancellationToken)

Creates a new scene collection, switching to it in the process.

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

Parameters

sceneCollectionName string

Name for the new scene collection.

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.