onRectChanged property

(void Function(ZegoScreenCaptureSource source, dynamic captureRect)?) onRectChanged
read / write

采集区域发生改变。

支持版本:3.7.0 及以上。 注意事项:调用接口 setEventHandler 设置后该回调才生效。 使用限制:只适用于 Windows/macOS

  • source 回调的屏幕采集源实例。
  • captureRect 采集的区域矩形。

Implementation

static void Function(ZegoScreenCaptureSource source, Rect captureRect)?
    onRectChanged;