# How to get current view mode on macOS?

**URL:** <https://devforum.zoom.us/t/how-to-get-current-view-mode-on-macos/20492>\
**Category:** macOS\
**Created:** [June 5, 2020, 9:43pm UTC](https://devforum.zoom.us/t/how-to-get-current-view-mode-on-macos/20492 "2020-06-05T21:43:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dmiskiew](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/dmiskiew/32/8026_2.png) [@dmiskiew](https://devforum.zoom.us/u/dmiskiew)\
**Post date:** [June 5, 2020, 9:43pm UTC](https://devforum.zoom.us/t/how-to-get-current-view-mode-on-macos/20492/1 "2020-06-05T21:43:08Z")

</div>

**Description**  
I found the

`- (ZoomSDKError)switchFloatVideoToActiveSpeakerMode`

and

`- (ZoomSDKError)switchFloatVideoToGalleryMode`

methods in the macOS SDK, but I don’t see a method the get the current mode. Is this information available somewhere?

**Which version?**  
v4.6.21666.0427

---

<div class="post-metadata">

**Author:** ![tmiskiew](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tmiskiew/32/9174_2.png) [@tmiskiew](https://devforum.zoom.us/u/tmiskiew)\
**Post date:** [June 8, 2020, 10:56am UTC](https://devforum.zoom.us/t/how-to-get-current-view-mode-on-macos/20492/2 "2020-06-08T10:56:38Z")

</div>

@carson.zoom any joy?

---

<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:** [June 10, 2020, 7:43am UTC](https://devforum.zoom.us/t/how-to-get-current-view-mode-on-macos/20492/3 "2020-06-10T07:43:14Z")

</div>

Hi @dmiskiew,

Thanks for the post. Are you looking for a way to get the meeting UI type? You may leverage the following interface:

```auto
/**
 * @brief Get the meeting UI display type.
 * @param type Select the screen where you want to operate on.
 * @param bFullScreen A point to A BOOL, if the function call successfully, the value of 'bFullScreen' means whether the specified screen is in full screen mode.
  * @param meetingUIType A point to A MeetingUIType, if the function call successfully, the value of 'meetingUIType' means the meeting UI display type.
 * @return If the function succeeds, it will return ZoomSDKError_success, otherwise not.
 */
- (ZoomSDKError)getMeetingUIType:(ScreenType)type isFullScreen:(BOOL*)bFullScreen meetingUIType:(MeetingUIType*)meetingUIType;

```

If you are looking for the way to get the float video type while sharing, we do not have an interface for this at the moment.

Hope this helps. Thanks!

---

<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:** [June 17, 2020, 6:00am UTC](https://devforum.zoom.us/t/how-to-get-current-view-mode-on-macos/20492/4 "2020-06-17T06:00:33Z")

</div>

Closed on June 17, 2020, 6:00am UTC


