getCurrentProgram method

Future<String> getCurrentProgram()

Gets the current program scene.

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

Implementation

Future<String> getCurrentProgram() async {
  final response =
      await obsWebSocket.sendRequest(Request('GetCurrentProgramScene'));

  return StringResponse.fromJson(response!.responseData!).value;
}