onScreenCapturePaused property

(void Function(int reason)?) onScreenCapturePaused
final

Screen Sharing Was Paused

The SDK returns this callback when you call pauseScreenCapture to pause screen sharing.

  • Parameters:
    • reason(int):
      • Reason for the pause:
        • 0: The user paused screen sharing.
        • 1: Screen sharing was paused because the shared window became invisible (Mac) or due to setting parameters (Windows).
        • 2: Screen sharing was paused because the shared window became minimized (only for Windows).
        • 3: Screen sharing was paused because the shared window became invisible (only for Windows).

Implementation

final void Function(int reason)? onScreenCapturePaused;