set method

Future<void> set(
  1. String sceneName
)

Sets the name of a scene (rename).

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

Implementation

Future<void> set(String sceneName) async =>
    await obsWebSocket.sendRequest(Request(
      'SetSceneName',
      requestData: {'sceneName': sceneName},
    ));