onRectChanged property

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

The callback will be triggered when the state of the capture target window change.

Available since: 3.7.0 Caution: The callback does not actually take effect until call setEventHandler to set. Restrictions: Only available on Windows/macOS.

  • source Callback screen capture source object.
  • captureRect Capture source rect.

Implementation

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