setLiveMixCustomLayouts method

Future<int> setLiveMixCustomLayouts(
  1. List<RCRTCCustomLayout> layouts
)

Implementation

Future<int> setLiveMixCustomLayouts(List<RCRTCCustomLayout> layouts) async {
  Map<String, dynamic> arguments = {
    'layouts': layouts.map((layout) => layout.toJson()).toList(),
  };
  int code = await _channel.invokeMethod('setLiveMixCustomLayouts', arguments) ?? -1;
  return code;
}