onWindowStateChanged property
getter/setter pair
采集目标窗口状态发生改变。
支持版本:3.4.0 及以上。
注意事项:调用接口 setEventHandler 设置后该回调才生效。
使用限制:只适用于 Windows/macOS
source回调的屏幕采集源实例。windowState采集的窗口状态。windowRect采集的窗口矩形。
Implementation
static void Function(
ZegoScreenCaptureSource source,
ZegoScreenCaptureWindowState windowState,
Rect windowRect)? onWindowStateChanged;