active method
Gets the active and show state of a source.
Compatible with inputs and scenes.
- Complexity Rating: 2/5
- Latest Supported RPC Version: 1
- Added in v5.0.0
Implementation
Future<SourceActiveResponse> active(String sourceName) async {
final response = await obsWebSocket.sendRequest(Request('GetSourceActive'));
return SourceActiveResponse.fromJson(response!.responseData!);
}