Table of Contents

Method GetGroupList

Namespace
OBSStudioClient
Assembly
OBSClient.dll

GetGroupList(CancellationToken)

Gets an array of all groups in OBS.

public Task<string[]> GetGroupList(CancellationToken cancellationToken = default)

Parameters

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<string[]>

Array of group names.

Remarks

Groups in OBS are actually scenes, but renamed and modified. In obs-websocket, we treat them as scenes where we can.