removeAllIncludedShareWindow method

  1. @override
void removeAllIncludedShareWindow()
override

Remove all windows from the inclusion list of screen sharing (for desktop systems only)

This API takes effect only if the type in TRTCScreenCaptureSourceInfo is specified as TRTCScreenCaptureSourceTypeWindow. That is, the feature of additionally including specified windows works only when a window is shared.

Implementation

@override
void removeAllIncludedShareWindow() {
  TRTCLog(_tag, "removeAllIncludedShareWindow");
  if (Platform.isAndroid || Platform.isIOS) {
    debugPrint("trtc-api not support");
    return;
  }
  TRTCCloudNative.instance.removeAllIncludedShareWindows();
}