removeRemoteCustomStreamView method

Future<int> removeRemoteCustomStreamView(
  1. String userId,
  2. String tag
)

ZH

移除远端自定义视频预览窗口 @param userId @param tag @return

EN

Remove remote custom video preview window @param userId @param tag @return

Implementation

Future<int> removeRemoteCustomStreamView(String userId, String tag) async {
  Map<String, dynamic> arguments = {'id': userId, 'tag': tag};
  int code =
      await _channel.invokeMethod(
        'removeRemoteCustomStreamView',
        arguments,
      ) ??
      -1;
  return code;
}