setCurrentSceneCollection method

Future<void> setCurrentSceneCollection(
  1. String sceneCollectionName
)

Switches to a scene collection.

  • Complexity Rating: 1/5
  • Latest Supported RPC Version: 1
  • Added in v5.0.0

Implementation

Future<void> setCurrentSceneCollection(String sceneCollectionName) async =>
    await obsWebSocket.sendRequest(Request(
      'SetCurrentSceneCollection',
      requestData: {'sceneCollectionName': sceneCollectionName},
    ));