How to get current view mode on macOS?

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

1 Like

@Carson_Chen any joy?

Hi @dmiskiew,

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

/**
 * @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!