setCurrentProfile method

Future<void> setCurrentProfile(
  1. String profileName
)

Switches to a profile.

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

Implementation

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