# How to call getASController API in getPremeetingService？

**URL:** <https://devforum.zoom.us/t/how-to-call-getascontroller-api-in-getpremeetingservice/4155>\
**Category:** Electron\
**Created:** [May 6, 2019, 2:47am UTC](https://devforum.zoom.us/t/how-to-call-getascontroller-api-in-getpremeetingservice/4155 "2019-05-06T02:47:17Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![8889999i](https://avatars.discourse-cdn.com/v4/letter/8/90ced4/32.png) [@8889999i](https://devforum.zoom.us/u/8889999i)\
**Post date:** [May 6, 2019, 2:47am UTC](https://devforum.zoom.us/t/how-to-call-getascontroller-api-in-getpremeetingservice/4155/1 "2019-05-06T02:47:17Z")

</div>

![%E4%BC%81%E4%B8%9A%E5%BE%AE%E4%BF%A1%E6%88%AA%E5%9B%BE_21df5088-0846-4df2-a7a7-c7ddc7046cdd](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/1X/1a320f1426e550712e22185831102d80520ff3ef.png)  
 ![error](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/1X/d7479c8c0a5d64a12644dae08a004e9c28036569.png)

How to call getASController API in getPremeetingService？@Derain_Yuan

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [May 7, 2019, 1:43am UTC](https://devforum.zoom.us/t/how-to-call-getascontroller-api-in-getpremeetingservice/4155/2 "2019-05-07T01:43:37Z")

</div>

Hi 8889999i,  
Thanks for using Zoom SDK. We do not have this `getASController` API in `PremeetingService`. AS is app share, and it does not belong to Pre-meeting Service. Please refer to our doc for this API: [https://zoom.github.io/zoom-sdk-macos/interface\_zoom\_s\_d\_k\_meeting\_service.html#a11cac00d8b6d44afa3d78e12467544c8](https://zoom.github.io/zoom-sdk-macos/interface_zoom_s_d_k_meeting_service.html#a11cac00d8b6d44afa3d78e12467544c8)

Thanks!

---

<div class="post-metadata">

**Author:** ![8889999i](https://avatars.discourse-cdn.com/v4/letter/8/90ced4/32.png) [@8889999i](https://devforum.zoom.us/u/8889999i)\
**Post date:** [May 7, 2019, 1:46am UTC](https://devforum.zoom.us/t/how-to-call-getascontroller-api-in-getpremeetingservice/4155/3 "2019-05-07T01:46:47Z")

</div>

I want to do direct sharing screen in electron, do you have demo?@carson.zoom

---

<div class="post-metadata">

**Author:** ![8889999i](https://avatars.discourse-cdn.com/v4/letter/8/90ced4/32.png) [@8889999i](https://devforum.zoom.us/u/8889999i)\
**Post date:** [May 7, 2019, 1:48am UTC](https://devforum.zoom.us/t/how-to-call-getascontroller-api-in-getpremeetingservice/4155/4 "2019-05-07T01:48:26Z")

</div>

Now I’m going to follow the demo of the meeting, but it’s not working @carson.zoom

---

<div class="post-metadata">

**Author:** ![Derain\_Yuan](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/derain_yuan/32/558_2.png) [@Derain\_Yuan](https://devforum.zoom.us/u/Derain_Yuan)\
**Post date:** [May 7, 2019, 6:52am UTC](https://devforum.zoom.us/t/how-to-call-getascontroller-api-in-getpremeetingservice/4155/5 "2019-05-07T06:52:05Z")

</div>

Sorry, there’s nothing about direct share in Zoom demo, I have told you about the direct share API in your other questions, you need try to implement it by yourself.

---

<div class="post-metadata">

**Author:** ![8889999i](https://avatars.discourse-cdn.com/v4/letter/8/90ced4/32.png) [@8889999i](https://devforum.zoom.us/u/8889999i)\
**Post date:** [May 7, 2019, 6:54am UTC](https://devforum.zoom.us/t/how-to-call-getascontroller-api-in-getpremeetingservice/4155/6 "2019-05-07T06:54:20Z")

</div>

I’m trying to implement it, but I’m not familiar with nodobjc, so I need your help.

---

<div class="post-metadata">

**Author:** ![8889999i](https://avatars.discourse-cdn.com/v4/letter/8/90ced4/32.png) [@8889999i](https://devforum.zoom.us/u/8889999i)\
**Post date:** [May 7, 2019, 6:55am UTC](https://devforum.zoom.us/t/how-to-call-getascontroller-api-in-getpremeetingservice/4155/7 "2019-05-07T06:55:29Z")

</div>

Could you give me some examples, because I’ve been puzzled by this problem for a long time?@Derain_Yuan

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [May 7, 2019, 5:53pm UTC](https://devforum.zoom.us/t/how-to-call-getascontroller-api-in-getpremeetingservice/4155/8 "2019-05-07T17:53:55Z")

</div>

Hi,  
Thanks for using Zoom SDK. Unfortunately, we do not have any additional examples besides the demo app at this point. If you would like to know more about Nodobjc, the following link would be very helpful:

- [http://tootallnate.github.io/NodObjC/](http://tootallnate.github.io/NodObjC/)
- [https://github.com/TooTallNate/NodObjC](https://github.com/TooTallNate/NodObjC)
- [https://bergie.iki.fi/blog/10238962024/](https://bergie.iki.fi/blog/10238962024/)
- [https://www.npmjs.com/package/nodobjc](https://www.npmjs.com/package/nodobjc)

With the NodObjc bridge, you can implement the interfaces that are available in our Mac SDK based on your needs:

- [https://marketplace.zoom.us/docs/sdk/native-sdks/macos](https://marketplace.zoom.us/docs/sdk/native-sdks/macos)
- [https://marketplace.zoom.us/docs/sdk/sdk-reference/mac-reference](https://marketplace.zoom.us/docs/sdk/sdk-reference/mac-reference)

We will keep improving the Mac OS SDK doc. Hope this helps.

---

<div class="post-metadata">

**Author:** ![8889999i](https://avatars.discourse-cdn.com/v4/letter/8/90ced4/32.png) [@8889999i](https://devforum.zoom.us/u/8889999i)\
**Post date:** [May 8, 2019, 1:49am UTC](https://devforum.zoom.us/t/how-to-call-getascontroller-api-in-getpremeetingservice/4155/9 "2019-05-08T01:49:50Z")

</div>

thanks you vary match

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [August 24, 2021, 8:29pm UTC](https://devforum.zoom.us/t/how-to-call-getascontroller-api-in-getpremeetingservice/4155/10 "2021-08-24T20:29:25Z")

</div>

Marking as resolved.

-Tommy
