# How to detect screen sharing when use Zoom UI Toolkit

**URL:** <https://devforum.zoom.us/t/how-to-detect-screen-sharing-when-use-zoom-ui-toolkit/120679>\
**Category:** UI ToolKit\
**Tags:** video-sdk\
**Created:** [November 11, 2024, 4:26am UTC](https://devforum.zoom.us/t/how-to-detect-screen-sharing-when-use-zoom-ui-toolkit/120679 "2024-11-11T04:26:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![thanapon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/thanapon/32/51245_2.png) [@thanapon](https://devforum.zoom.us/u/thanapon)\
**Post date:** [November 11, 2024, 4:26am UTC](https://devforum.zoom.us/t/how-to-detect-screen-sharing-when-use-zoom-ui-toolkit/120679/1 "2024-11-11T04:26:32Z")

</div>

Excuse me.

This library can support evert listener when user sharing this screen like Zoom Video SDK on React Native?

Code snippet on Zoom Video SDK on React Native

```auto
onst [isScreenShared, setIsScreenShared] = useState(false);

    const userShared = zoom.addListener(EventType.onUserShareStatusChanged, async (event) => {
      console.debug('event: ', event)
      switch (event.status) {
        case "ZoomVideoSDKShareStatus_Start":
          setIsScreenShared(true)
          break;
        case "ZoomVideoSDKShareStatus_Stop":
          setIsScreenShared(false)
          break;
        default:
          console.error(`ERROR: Something went wrong. event = ${event}`)
      }
    });
    listeners.current.push(userShared);

          <ZoomView
            style={styles.container}
            userId={user.userId}
            sharing={isScreenShared}
            fullScreen
            videoAspect={VideoAspect.PanAndScan}
          />

```

---

<div class="post-metadata">

**Author:** ![ekaansh.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ekaansh.zoom/32/55004_2.png) [@ekaansh.zoom](https://devforum.zoom.us/u/ekaansh.zoom)\
**Post date:** [November 11, 2024, 1:31pm UTC](https://devforum.zoom.us/t/how-to-detect-screen-sharing-when-use-zoom-ui-toolkit/120679/2 "2024-11-11T13:31:40Z")

</div>

Edit: It’s on the feature roadmap now, but we don’t have a release date we can share right now.

This isn’t part of the supported event listener in the current version. I’ll discuss with the team to add this to the feature roadmap.

---

<div class="post-metadata">

**Author:** ![ekaansh.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ekaansh.zoom/32/55004_2.png) [@ekaansh.zoom](https://devforum.zoom.us/u/ekaansh.zoom)\
**Post date:** [November 12, 2024, 5:22pm UTC](https://devforum.zoom.us/t/how-to-detect-screen-sharing-when-use-zoom-ui-toolkit/120679/3 "2024-11-12T17:22:00Z")

</div>

Closed on November 12, 2024, 5:22pm UTC


