# How do I get the status of airhost.app

**URL:** <https://devforum.zoom.us/t/how-do-i-get-the-status-of-airhost-app/33438>\
**Category:** macOS\
**Created:** [October 16, 2020, 9:10am UTC](https://devforum.zoom.us/t/how-do-i-get-the-status-of-airhost-app/33438 "2020-10-16T09:10:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![15604510000](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/15604510000/32/12797_2.png) [@15604510000](https://devforum.zoom.us/u/15604510000)\
**Post date:** [October 16, 2020, 9:10am UTC](https://devforum.zoom.us/t/how-do-i-get-the-status-of-airhost-app/33438/1 "2020-10-16T09:10:09Z")

</div>

**Description**  
I’m using a custom UI and want to use airhost.app. However, I couldn’t get the state of air, such as start screen mirroring and end screen mirroring. Can I get these states? Thank you for your help！  
**Smartphone (please complete the following information):**

- Device: iMac
- OS: 10.15.5
- Version [5.2.41735.0929]

---

<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:** [October 24, 2020, 6:09am UTC](https://devforum.zoom.us/t/how-do-i-get-the-status-of-airhost-app/33438/2 "2020-10-24T06:09:25Z")

</div>

Hi @15604510000,

Thanks for the post. You may use the following interface to get the status:

```auto
/**
 * @brief Notification of the sharing status in the meeting.
 * @param status The sharing status.
 * @param userID The ID of user who is sharing.
 *
 */
- (void)onSharingStatus:(ZoomSDKShareStatus)status User:(unsigned int)userID;

```

Thanks!
