removeProfile method

Future<void> removeProfile(
  1. String profileName
)

Removes a profile. If the current profile is chosen, it will change to a different profile first.

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

Implementation

Future<void> removeProfile(String profileName) async =>
    await obsWebSocket.sendRequest(Request(
      'RemoveProfile',
      requestData: {'profileName': profileName},
    ));