Zoom Rooms Controller SDK Reference 6.5.0
Loading...
Searching...
No Matches
IMeetingViewLayoutHelper.h
Go to the documentation of this file.
1
6#ifndef ZRC_IVIDEOLAYOUTHELPER_H
7#define ZRC_IVIDEOLAYOUTHELPER_H
8
9#include "ZRCSDKTypes.h"
10
12
18{
26};
27
33{
43};
44
50{
56};
57
63{
68};
69
75{
81};
82
88{
93};
94
100{
105};
106
112{
120
126{
131};
132
136{
137 bool isInFirstPage = false;
138 bool isInLastPage = false;
141};
142
146{
147 bool isSupported = false;
151 bool isThumbnailOnTop = false;
152};
153
157{
158 bool canSwitchSpeakerView = false;
160 bool canSwitchGalleryView = false;
161 bool canSwitchContentOnly = false;
163
164 bool isInThumbnail = false;
165 bool isInGalleryView = false;
166 bool isInContentOnly = false;
167 bool isInImmersive = false;
168 bool isInDynamicLayout = false;
169
173};
174
178{
182};
183
187{
189 bool hasSavedOrder = false;
190 bool isFollowHostOrder = false;
191 bool isSavedOrderEnabled = false;
192};
193
197{
200};
201
205{
207 bool enable = false;
208 bool visible = false;
209};
210
214{
217 std::vector<ScreenLayoutCtrlInfo> layoutCtrlInfos;
218};
219
223{
224 bool canShowContentOnly = false;
225 bool isInContentOnly = false;
229 std::vector<ScreenLayoutInfo> layoutInfos;
230};
231
235{
236public:
238
248
257 virtual void OnUpdateVideoThumbInfo(const VideoThumbInfo& info) = 0;
258
268
277 virtual void OnUpdateIsNonVideoParticipantsShowedNotification(bool isShowNonVideoParticipants) = 0;
278
287 virtual void OnUpdateShowUpTo49PerPageInGallery(bool enabled) = 0;
288
298 virtual void OnAutoSwitchSpeakerNotification(bool support, bool enable) = 0;
299
308 virtual void OnVideoOrderNotification(const VideoOrderInfo& videoOrderInfo) = 0;
309
319
329
339
349 virtual void OnAttendeeViewLayoutEnableShareContentOnlyNotification(bool isSupport, bool isEnable) = 0;
350
361 virtual void OnUpdateGalleryGridSelectionNotification(bool isEnabled, uint32_t row, uint32_t column) = 0;
362
371 virtual void OnUpdateScreenLayoutStatus(const ScreenLayoutStatus& status) = 0;
372
382};
383
387{
388public:
390
402
414
426
439
451 virtual ZRCSDKError TurnVideoPage(bool forward, PageVideoType pageVideoType) = 0;
452
463 virtual ZRCSDKError SwitchToFloatingShareForSingleScreen(bool floatingShare) = 0;
464
476
487 virtual ZRCSDKError ShowNonVideoParticipants(bool show) = 0;
488
500
511 virtual ZRCSDKError EnableAutoSwitchSpeaker(bool enable) = 0;
512
524
536
548
560
574 virtual ZRCSDKError SelectGalleryGrid(uint32_t row, uint32_t column) = 0;
575
586 virtual ZRCSDKError ExpandConfSelfVideo(bool expand) = 0;
587
600
611 virtual ZRCSDKError SetShareContentOnly(bool enable) = 0;
612
623 virtual ZRCSDKError ShowScreenIndex(bool show) = 0;
624
636
648};
649
651#endif //ZRC_IVIDEOLAYOUTHELPER_H
ThumbnailsPositionType
thumbnails position type. Here are more detailed structural descriptions.
@ ThumbnailsPositionTypeBottom
Thumbnails position is bottom.
@ ThumbnailsPositionTypeNone
Thumbnails position is none.
@ ThumbnailsPositionTypeUnknown
Thumbnails position is unknown.
@ ThumbnailsPositionTypeTop
Thumbnails position is top.
AttendeeViewLayoutType
Attendee view layout type when viewing live feed. Here are more detailed structural descriptions.
@ AttendeeViewLayoutTypeStandard
Side-by-side if exist share source.
@ AttendeeViewLayoutTypeSpeaker
Speaker.
@ AttendeeViewLayoutTypeFollow
Follow host's view.
@ AttendeeViewLayoutTypeNone
None.
@ AttendeeViewLayoutTypeShareContentOnly
Share content only.
@ AttendeeViewLayoutTypeGallery
Gallery.
VideoLayoutStyle
Zoom Room video layout style. Here are more detailed structural descriptions.
@ VideoLayoutStyleUnknown
Unknown.
@ VideoLayoutStyleGallery
Gallery View layout.
@ VideoLayoutStyleCancelContentOnly
Cancel content only layout.
@ VideoLayoutStyleDynamicLayout
Dynamic View layout.
@ VideoLayoutStyleSpeaker
Speaker View layout.
@ VideoLayoutStyleContentOnly
Content only layout, all screens show shared content.
@ VideoLayoutStyleThumbnail
Thumbnail View layout.
DynamicLayoutType
Dynamic layout type Here are more detailed structural descriptions.
@ DynamicLayoutTypeSpeakersOnTop
@ DynamicLayoutTypeSpeakersOnBottom
@ DynamicLayoutTypeSpeakersOnMiddle
@ DynamicLayoutTypeSpeakersOnUnknown
VideoThumbPosition
Video thumb position. Here are more detailed structural descriptions.
@ VideoThumbPositionUpRight
Video thumb position up-right.
@ VideoThumbPositionUp
Video thumb position up.
@ VideoThumbPositionDownLeft
Video thumb position down-left.
@ VideoThumbPositionRight
Video thumb position right.
@ VideoThumbPositionCenter
Video thumb position center.
@ VideoThumbPositionUpLeft
Video thumb position up-left.
@ VideoThumbPositionLeft
Video thumb position left.
@ VideoThumbPositionDownRight
Video thumb position down-right.
@ VideoThumbPositionDown
Video thumb position down.
ConfidenceMonitorLayoutType
Confidence monitor layout type Here are more detailed structural descriptions.
@ ConfidenceMonitorLayoutTypeShareContent
Share content.
@ ConfidenceMonitorLayoutTypeSelf
Self view.
@ ConfidenceMonitorLayoutTypeUnknown
None.
@ ConfidenceMonitorLayoutTypeActive
Active speaker.
VideoThumbSize
Video thumb size. Here are more detailed structural descriptions.
@ VideoThumbSize3x
Video thumb size 3x.
@ VideoThumbSize1x
Video thumb size normal.
@ VideoThumbSize2x
Video thumb size 2x.
@ VideoThumbSizeVideoStripe
Video thumb in video stripe.
@ VideoThumbSizeOff
Video thumb size off.
PageVideoType
Page video type. Here are more detailed structural descriptions.
@ PageVideoTypeThumbnailView
Page video type Thumbnail View.
@ PageVideoTypeGalleryView
Page video type Gallery View.
@ PageVideoTypeDynamicLayoutView
Page video type Dynamic View.
@ PageVideoTypeUnknown
Page video type unknown.
VideoOrderType
Video order type. Here are more detailed structural descriptions.
@ VideoOrderTypeSavedOrder
Videos are ordered by saved order.
@ VideoOrderTypeReverseAlphabetical
Videos are ordered by reverse alphabetical.
@ VideoOrderTypeAlphabetical
Videos are ordered by alphabetical.
@ VideoOrderTypeUnknown
Invalid.
@ VideoOrderTypeDefault
Default.
#define NS_ZRCSDK_END
#define NS_ZRCSDK_BEG
ZRC SDK Types.
ZRCSDKError
SDK error types. Here are more detailed structural descriptions.
Definition ZRCSDKTypes.h:22
MeetingScreen
Meeting screen index Here are more detailed structural descriptions.
@ MeetingScreenUnknown
Invalid.
ScreenLayoutSourceType
Zoom Room Screen layout source type. Here are more detailed structural descriptions.
@ ScreenLayoutSourceTypeNone
Meeting View Layout helper interface.
virtual ZRCSDKError SetDynamicLayoutOption(DynamicLayoutType layout)=0
Set dynamic layout option.
virtual ZRCSDKError ControlVideoPosition(VideoThumbPosition position, VideoThumbSize size)=0
Control video thumb position and size.
virtual ZRCSDKError IsSupportShowNonVideoParticipants(bool &support)=0
Query if support show non-video participants.
virtual ZRCSDKError ExpandConfSelfVideo(bool expand)=0
Expand conf self video.
virtual ZRCSDKError ShowScreenIndex(bool show)=0
Show screen index on Zoom Rooms client.
virtual ZRCSDKError SetConfidenceMonitorLayout(ConfidenceMonitorLayoutType layout)=0
Set confidence monitor layout.
virtual ZRCSDKError GetThumbnailsPosition(ThumbnailsPositionType &type)=0
Get current thumbnails position. When type is ThumbnailsPositionTypeNone, you can't call ChangeThumbn...
virtual ZRCSDKError SelectVideoOrder(VideoOrderType type)=0
Select video order.
virtual ZRCSDKError RegisterSink(IMeetingViewLayoutHelperSink *pSink)=0
Register meeting view layout helper callback sink.
virtual ZRCSDKError TurnVideoPage(bool forward, PageVideoType pageVideoType)=0
Turn video page.
virtual ZRCSDKError UpdateVideoLayoutStyle(VideoLayoutStyle style)=0
Update Zoom Room meeting video layout style.
virtual ZRCSDKError SwitchToFloatingShareForSingleScreen(bool floatingShare)=0
Switch to floating share content when in single screen.
virtual ZRCSDKError EnableShowUpTo49PerPageInGallery(bool enable)=0
Enable to show up tp 49 user video per page in gallery.
virtual ZRCSDKError DeregisterSink(IMeetingViewLayoutHelperSink *pSink)=0
Deregister meeting view layout helper callback sink.
virtual ZRCSDKError ShowNonVideoParticipants(bool show)=0
Show non-video participants.
virtual ZRCSDKError SelectGalleryGrid(uint32_t row, uint32_t column)=0
Change attendee view layout, row and column range [2,7].
virtual ZRCSDKError EnableAutoSwitchSpeaker(bool enable)=0
Enable auto switch speaker.
virtual ZRCSDKError ChangeAttendeeView(AttendeeViewLayoutType layout)=0
Change attendee view layout.
virtual ZRCSDKError ChangeThumbnailsPosition(ThumbnailsPositionType type)=0
Change thumbnails position in multi-speaker and thumbnails layout.
virtual ZRCSDKError SetShareContentOnly(bool enable)=0
Set share content only.
virtual ZRCSDKError SetScreenLayout(MeetingScreen screenIndex, ScreenLayoutSourceType layout)=0
Set screen layout.
Meeting View Layout helper event callback.
virtual void OnChangeAttendeeViewNotification(AttendeeViewLayoutType layout)=0
Change attendee view layout notification.
virtual void OnUpdateVideoPageStatusNotification(const VideoPageStatus &noti)=0
Video page status update callback.
virtual void OnUpdateGalleryGridSelectionNotification(bool isEnabled, uint32_t row, uint32_t column)=0
Update gallery grid selection notification.
virtual void OnUpdateScreenLayoutStatus(const ScreenLayoutStatus &status)=0
Screen layout status changed notification.
virtual void OnDynamicLayoutOptionNotification(DynamicLayoutType layout)=0
Dynamic layout option notification.
virtual void OnUpdateVideoThumbInfo(const VideoThumbInfo &info)=0
Video thumb info update callback.
virtual void OnUpdateWallviewStyleNotification(const WallViewStyleStatus &status)=0
Wall view style status update callback.
virtual void OnVideoOrderNotification(const VideoOrderInfo &videoOrderInfo)=0
Video order changed notification.
virtual void OnThumbnailsPositionNotification(ThumbnailsPositionType type)=0
Thumbnails position notification.
virtual void OnUpdateShowUpTo49PerPageInGallery(bool enabled)=0
Show up to 49 user's video per page in gallery changed callback.
virtual void OnAttendeeViewLayoutEnableShareContentOnlyNotification(bool isSupport, bool isEnable)=0
Enable change attendee view layout to shared content only update notification.
virtual void OnAutoSwitchSpeakerNotification(bool support, bool enable)=0
Auto switch speaker view changed callback.
virtual void OnUpdateIsNonVideoParticipantsShowedNotification(bool isShowNonVideoParticipants)=0
Show non-video participant changed callback.
virtual void OnConfidenceMonitorNotification(const ConfidenceMonitorInfo &info)=0
Confidence monitor info notification.
Confidence monitor info.
ConfidenceMonitorLayoutType layout
Confidence monitor layout type, see ConfidenceMonitorLayoutType enum.
Meeting screen layout control info.
bool visible
TRUE indicates current layout is visible.
bool enable
TRUE indicates current layout is enabled.
ScreenLayoutSourceType layout
Screen layout type, see ScreenLayoutSourceType enum.
Meeting screen layout info.
MeetingScreen screen
Screen index.
std::vector< ScreenLayoutCtrlInfo > layoutCtrlInfos
Screen layout infos, indicates which layout current screen can switch to.
ScreenLayoutSourceType layout
Screen layout type, see ScreenLayoutSourceType enum.
Meeting screen layout status.
bool canShowContentOnly
TRUE indicates can switch to Content Only layout.
bool canSwitchFloatingShareContent
TRUE indicates can switch between floating video and floating shared content.
std::vector< ScreenLayoutInfo > layoutInfos
All screen layout infos.
bool isInContentOnly
TRUE indicates current is in Content Only layout.
bool isInFloatingShareContent
TRUE indicates current is in floating shared content.
bool canAdjustFloatingVideo
TRUE indicates can adjust floating video.
Video layout status. Default is Speaker View layout.
bool isInContentOnly
TRUE indicates current is in Content Only layout.
bool canSwitchContentOnly
TRUE indicates can switch to Content Only layout.
bool canSwitchDynamicLayout
TRUE indicates can switch to Dynamic View layout.
bool isInGalleryView
TRUE indicates current is in Gallery View layout.
bool isInImmersive
TRUE indicates current is in Immersive View layout.
bool isInThumbnail
TRUE indicates Current is in Thumbnail View layout.
bool canSwitchGalleryView
TRUE indicates can switch to Gallery View layout.
bool canSwitchThumbnailView
TRUE indicates can switch to Thumbnail View layout.
bool canSwitchFloatingShareContent
TRUE indicates can switch between floating video and floating shared content.
bool canAdjustFloatingVideo
TRUE indicates can adjust floating video.
bool canSwitchSpeakerView
TRUE indicates can switch to Speaker View layout.
bool isInDynamicLayout
TRUE indicates current is in Dynamic View layout.
bool isInFloatingShareContent
TRUE indicates current is in floating shared content.
VideoOrderType type
Video order type.
bool isSavedOrderEnabled
TRUE indicates saved order is enabled.
bool isFollowHostOrder
TRUE indicates current is following host's video order.
bool hasSavedOrder
TRUE indicates has video order.
bool isInLastPage
TRUE indicates video page is in last first page.
bool isInFirstPage
TRUE indicates video page is in first page.
PageVideoType pageVideoType
Page video type, see PageVideoType enum.
int videoCountInCurrentPage
Video count in current page.
bool isSupported
TRUE indicates video thumb is supported.
VideoThumbSize size
Video thumb size, see VideoThumbSize enum.
bool isThumbnailOnTop
TRUE indicates video thumbnail is at top of screen.
VideoThumbPosition position
Video thumb position, see VideoThumbPosition enum.
VideoPageStatus videoPageStatus
Video page status.
Wall view style status Gallery view.
VideoPageStatus videoPageStatus
Gallery View video page status.
VideoThumbInfo videoThumbInfo
Gallery View video thumb info.
VideoLayoutStatus videoLayoutStatus
Gallery View video layout status.