list method

Gets an array of all scenes in OBS.

Compatible with inputs and scenes.

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

Implementation

Future<SceneListResponse> list() async {
  final response = await obsWebSocket.sendRequest(Request('GetSceneList'));

  return SceneListResponse.fromJson(response!.responseData!);
}