# Handling of 'MeetingUIType' state switching

**URL:** <https://devforum.zoom.us/t/handling-of-meetinguitype-state-switching/37529>\
**Category:** macOS\
**Created:** [December 3, 2020, 7:01am UTC](https://devforum.zoom.us/t/handling-of-meetinguitype-state-switching/37529 "2020-12-03T07:01:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anton.yereshchenko](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/anton.yereshchenko/32/16916_2.png) [@anton.yereshchenko](https://devforum.zoom.us/u/anton.yereshchenko)\
**Post date:** [December 3, 2020, 7:01am UTC](https://devforum.zoom.us/t/handling-of-meetinguitype-state-switching/37529/1 "2020-12-03T07:01:41Z")

</div>

How can I detect event of Speaker/Gallery mode switching?

As I understand I can switch it programmatically with next methods:  
`switchToActiveSpeakerView` and `switchToVideoWallView`  
And I can get the current state with:  
`getMeetingUIType`

But is there any delegate or notification that can inform about the switching from Zoom UI?

---

<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:** [December 3, 2020, 7:09pm UTC](https://devforum.zoom.us/t/handling-of-meetinguitype-state-switching/37529/2 "2020-12-03T19:09:42Z")

</div>

Hi @anton.yereshchenko, thanks for using the dev forum.

As far as I am aware, there is no callback available for these actions within the SDK.

Thanks!
