onScreenCaptureStopped property

(void Function(int reason)?) onScreenCaptureStopped
final

Screen Sharing Stopped

The SDK returns this callback when you call stopScreenCapture to stop screen sharing.

  • Parameters:
    • reason(int):
      • Reason for stopping:
        • 0: The user stopped screen sharing.
        • 1: Screen sharing stopped because the shared window was closed.

Implementation

final void Function(int reason)? onScreenCaptureStopped;