getStudioModeEnabled method

Future<bool> getStudioModeEnabled()

Enables or disables studio mode

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

Implementation

Future<bool> getStudioModeEnabled() async {
  final response =
      await obsWebSocket.sendRequest(Request('GetStudioModeEnabled'));

  return BooleanResponse.fromJson(response!.responseData!).enabled;
}