getHotkeyList method

Future<List<String>> getHotkeyList()

Gets an array of all hotkey names in OBS

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

Implementation

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

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