onExceptionOccurred property

(void Function(ZegoScreenCaptureSource source, ZegoScreenCaptureSourceExceptionType exceptionType)?) onExceptionOccurred
read / write

The callback triggered when a screen capture source exception occurred

Available since: 3.1.0 Description: The callback triggered when a screen capture source exception occurred. Trigger: This callback is triggered when an exception occurs after the screen start capture. 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.
  • exceptionType Capture source exception type.

Implementation

static void Function(ZegoScreenCaptureSource source,
    ZegoScreenCaptureSourceExceptionType exceptionType)? onExceptionOccurred;