# Possible to pause/resume screen sharing in MacOS SDK?

**URL:** <https://devforum.zoom.us/t/possible-to-pause-resume-screen-sharing-in-macos-sdk/63765>\
**Category:** macOS\
**Created:** [February 3, 2022, 11:25pm UTC](https://devforum.zoom.us/t/possible-to-pause-resume-screen-sharing-in-macos-sdk/63765 "2022-02-03T23:25:33Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![KieranAC](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/kieranac/32/35367_2.png) [@KieranAC](https://devforum.zoom.us/u/KieranAC)\
**Post date:** [February 3, 2022, 11:25pm UTC](https://devforum.zoom.us/t/possible-to-pause-resume-screen-sharing-in-macos-sdk/63765/1 "2022-02-03T23:25:33Z")

</div>

**Description**  
I have been looking around the SDK documentation for pause/resume functionality for share and have not found it, if it exists. I do not see a reference to this in ZoomSDKASController

**Which macOS Meeting SDK version?**  
5.9.1

**To Reproduce(If applicable)**  
Steps to reproduce the behavior:

N/A

**Screenshots**

The Zoom client has the ability to pause/resume screen sharing.  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/7/e/7e3ddd9697c43bbb6dbd639cf96cb3ff0d0049a5.png)

I’d like to reproduce this behaviour in a custom app using the SDK

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [February 4, 2022, 11:28pm UTC](https://devforum.zoom.us/t/possible-to-pause-resume-screen-sharing-in-macos-sdk/63765/2 "2022-02-04T23:28:38Z")

</div>

Hi @KieranAC,

It doesn’t seem like you’re missing anything here, it is just not possible to pause a share programmatically on macOS. Since this is already supported on Windows we should be able to add this fairly easily to achieve parity between platforms. I’ll keep you updated once we have any more information.

Thanks!

---

<div class="post-metadata">

**Author:** ![KieranAC](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/kieranac/32/35367_2.png) [@KieranAC](https://devforum.zoom.us/u/KieranAC)\
**Post date:** [February 10, 2022, 4:19am UTC](https://devforum.zoom.us/t/possible-to-pause-resume-screen-sharing-in-macos-sdk/63765/3 "2022-02-10T04:19:50Z")

</div>

I found a method that seems like it works

```auto
[[[[ZoomSDK sharedSDK] getMeetingService] getMeetingActionController] actionMeetingWithCmd:ActionMeetingCmd_PauseShare
                                                                                                               userID:0
                                                                                                             onScreen:ScreenType_First];

```

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [February 10, 2022, 6:32pm UTC](https://devforum.zoom.us/t/possible-to-pause-resume-screen-sharing-in-macos-sdk/63765/4 "2022-02-10T18:32:18Z")

</div>

Good find! It’s easy to forget about the capabilities hidden inside of that method sometimes. 🙂

Let me know if you start running into any issues with this approach.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [March 13, 2022, 4:32am UTC](https://devforum.zoom.us/t/possible-to-pause-resume-screen-sharing-in-macos-sdk/63765/5 "2022-03-13T04:32:37Z")

</div>

Closed on March 13, 2022, 4:32am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
