setProfileParameter method

Future<void> setProfileParameter({
  1. required String parameterCategory,
  2. required String parameterName,
  3. required String parameterValue,
})

Sets the value of a parameter in the current profile's configuration.

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

Implementation

Future<void> setProfileParameter(
        {required String parameterCategory,
        required String parameterName,
        required String parameterValue}) async =>
    await obsWebSocket.sendRequest(Request(
      'SetProfileParameter',
      requestData: {
        'parameterCategory': parameterCategory,
        'parameterName': parameterName,
        'parameterValue': parameterValue,
      },
    ));