getInputKindList method
Gets an array of all available input kinds in OBS.
- Complexity Rating: 2/5
- Latest Supported RPC Version: 1
- Added in v5.0.0
Implementation
Future<List<String>> getInputKindList([bool unversioned = false]) async {
final response = await obsWebSocket.sendRequest(Request(
'GetInputKindList',
requestData: {'unversioned': unversioned}
..removeWhere((key, value) => value == null),
));
if (response == null || response.responseData == null) return <String>[];
return response.responseData?['inputKinds']?.cast<String>() ?? <String>[];
}