removeLocalCustomStreamView method

Future<int> removeLocalCustomStreamView(
  1. String tag
)

ZH

移除本地自定义视频预览窗口 @param tag @return 0: 成功, 非0: 失败

EN

Remove local custom video preview window @param tag @return 0: success, non-zero: failure

Implementation

Future<int> removeLocalCustomStreamView(String tag) async {
  int code =
      await _channel.invokeMethod('removeLocalCustomStreamView', tag) ?? -1;
  return code;
}