# How to start airhost.app

**URL:** <https://devforum.zoom.us/t/how-to-start-airhost-app/48264>\
**Category:** macOS\
**Created:** [April 19, 2021, 3:08am UTC](https://devforum.zoom.us/t/how-to-start-airhost-app/48264 "2021-04-19T03:08:37Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![homellc123](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/homellc123/32/20117_2.png) [@homellc123](https://devforum.zoom.us/u/homellc123)\
**Post date:** [April 19, 2021, 3:08am UTC](https://devforum.zoom.us/t/how-to-start-airhost-app/48264/1 "2021-04-19T03:08:37Z")

</div>

Hello,  
How to launch AirHost. app? Custom UI mode. I am very anxious for your reply! Thank you very much!

**Which macOS Client SDK version?**  
5.2

---

<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:** [April 20, 2021, 4:22pm UTC](https://devforum.zoom.us/t/how-to-start-airhost-app/48264/2 "2021-04-20T16:22:45Z")

</div>

Hi @homellc123, thanks for the post.

This is launched by the SDK as needed as is not intended to be used as a standalone application. Can you please provide some additional context around what you are trying to accomplish so that I may better assist?

Thanks!

---

<div class="post-metadata">

**Author:** ![homellc123](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/homellc123/32/20117_2.png) [@homellc123](https://devforum.zoom.us/u/homellc123)\
**Post date:** [April 21, 2021, 6:42am UTC](https://devforum.zoom.us/t/how-to-start-airhost-app/48264/3 "2021-04-21T06:42:31Z")

</div>

Thank you very much for your reply!  
I now want to initiate AirHost sharing, how do I do this? It is best to provide a detailed step!

As I am a Chinese user, I am not proficient in English, please forgive me.

---

<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:** [April 21, 2021, 3:46pm UTC](https://devforum.zoom.us/t/how-to-start-airhost-app/48264/4 "2021-04-21T15:46:41Z")

</div>

Hi @homellc123,

In order to programmatically support sharing, you can use the [`ZoomSDKASController`](https://marketplacefront.zoom.us/sdk/meeting/macos/interface_zoom_s_d_k_a_s_controller.html) class. Please let me know if any of the methods in this class are unclear and I will be happy to clarify.

> As I am a Chinese user, I am not proficient in English, please forgive me.

Absolutely no worries, your English has been perfectly clear so far! 🙂

Thanks!

---

<div class="post-metadata">

**Author:** ![homellc123](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/homellc123/32/20117_2.png) [@homellc123](https://devforum.zoom.us/u/homellc123)\
**Post date:** [April 22, 2021, 5:50am UTC](https://devforum.zoom.us/t/how-to-start-airhost-app/48264/5 "2021-04-22T05:50:24Z")

</div>

Thank you for your prompt reply  
I saw a way to start sharing,-(ZoomSDKError)startAppShare:(CGWindowID)windowID; How to get windowid? To be precise, how to obtain the windowid of airhost.app?

---

<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:** [April 22, 2021, 7:01pm UTC](https://devforum.zoom.us/t/how-to-start-airhost-app/48264/6 "2021-04-22T19:01:47Z")

</div>

Hi @homellc123,

This is actually not done through the SDK and refers to the [CGWindowID](https://developer.apple.com/documentation/coregraphics/cgwindowid) defined in Apple’s documentation.

Thanks!

---

<div class="post-metadata">

**Author:** ![lucas](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/lucas/32/8286_2.png) [@lucas](https://devforum.zoom.us/u/lucas)\
**Post date:** [April 26, 2021, 3:12pm UTC](https://devforum.zoom.us/t/how-to-start-airhost-app/48264/7 "2021-04-26T15:12:44Z")

</div>

I may be speaking out of turn, but I have this question, which I think is what @homellc123 is asking too.

What is the proper call to get the ZoomSDK to start a “AirPlay” screen share while using CustomUI?

---

<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:** [April 26, 2021, 7:02pm UTC](https://devforum.zoom.us/t/how-to-start-airhost-app/48264/8 "2021-04-26T19:02:02Z")

</div>

Hi @lucas,

Just to clarify, are you referring to the ability to [share a screen to a Zoom Room](https://support.zoom.us/hc/en-us/articles/204726885-Sharing-screen-using-Apple-screen-mirroring-AirPlay-)?

Thanks!

---

<div class="post-metadata">

**Author:** ![lucas](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/lucas/32/8286_2.png) [@lucas](https://devforum.zoom.us/u/lucas)\
**Post date:** [April 26, 2021, 7:25pm UTC](https://devforum.zoom.us/t/how-to-start-airhost-app/48264/9 "2021-04-26T19:25:32Z")

</div>

No. Do what the Default UI does when `iPhone/iPad via Airplay` is clicked on.

 ![Screen Shot 2021-04-26 at 2.24.17 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/9/c/9c2f3fa680808a89aa1bbdc22e794595649bb631.jpeg)

---

<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:** [April 26, 2021, 10:55pm UTC](https://devforum.zoom.us/t/how-to-start-airhost-app/48264/10 "2021-04-26T22:55:32Z")

</div>

Hi @lucas,

Ah, got it. Thanks for clarifying! I do not believe that the SDK directly supports this (outside of the default UI), so we would need to submit a feature request to expose it. If you would like to pursue this route, would you be able to provide some information about your intended use case? If you’d prefer not to share this publicly, let me know and I can provide a couple of alternative mediums. 🙂

Thanks!

---

<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:** [May 27, 2021, 8:55am UTC](https://devforum.zoom.us/t/how-to-start-airhost-app/48264/11 "2021-05-27T08:55:43Z")

</div>

Closed on May 27, 2021, 8:55am UTC

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