onExceptionOccurred method

void onExceptionOccurred(
  1. ZegoScreenCaptureSource source,
  2. ZegoScreenCaptureSourceExceptionType exceptionType
)

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

void onExceptionOccurred(
  ZegoScreenCaptureSource source,
  ZegoScreenCaptureSourceExceptionType exceptionType,
) {}