groupList method

Future<List<String>> groupList()

Gets an array of all groups in OBS.

Groups in OBS are actually scenes, but renamed and modified. In obs-websocket, we treat them as scenes where we can.

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

Implementation

Future<List<String>> groupList() async {
  final response = await obsWebSocket.sendRequest(Request('GetGroupList'));

  return StringListResponse.fromJson(response!.responseData!).items;
}