Meeting SDK for Windows API Reference
Loading...
Searching...
No Matches
customized_immersive.h
Go to the documentation of this file.
1
5#ifndef _MEETING_IMMERSIVE_INTERFACE_H_
6#define _MEETING_IMMERSIVE_INTERFACE_H_
7#include "zoom_sdk_def.h"
8
10
24
29{
31 unsigned int seat_id;
33 RECT position;
34
36 {
37 seat_id = 0;
38 position = { 0 };
39 }
40};
41
46{
50 unsigned int seat_id;
52 unsigned int user_id;
54 unsigned int z_order;
56 RECT position;
57
59 {
60 is_seat_free = false;
61 seat_id = 0;
62 user_id = 0;
63 z_order = 0;
64 position = { 0 };
65 }
66};
67
73{
74public:
79 virtual SIZE getCanvasSize() = 0;
80
86
88};
89
95{
96public:
101 virtual const zchar_t* getTemplateName() = 0;
102
107 virtual const void* getThumbnailBitmap() = 0;
108
113 virtual unsigned int getCapacity() = 0;
114
119 virtual bool isTemplateReady() = 0;
120
125 virtual bool isSupportFreeSeat() = 0;
126
132
138
144
146};
147
153{
154public:
161 virtual SDKError addUser(unsigned int userID, unsigned int seatID) = 0;
162
169 virtual SDKError addUser(unsigned int userID, RECT pos) = 0;
170
176 virtual SDKError removeUser(unsigned int userID) = 0;
177
183
189
194 virtual SDKError commit() = 0;
195
197};
198
204{
205public:
210 virtual void onImmersiveStatusChanged(bool bOn) = 0;
211
217
223
229 virtual void onTemplateDownloadProgress(ICustomImmersiveTemplate* immersiveTemplate, unsigned int progress) = 0;
230
236 virtual void onTemplateDownloadEnded(ICustomImmersiveTemplate* immersiveTemplate, bool bSuccess) = 0;
237
242 virtual void onTemplateThumbnailsDownloadEnded(bool bSuccess) = 0;
243
245};
246
252{
253public:
260
266 virtual SDKError isSupportImmersive(bool& bSupport) = 0;
267
273 virtual SDKError isImmersiveViewOn(bool& bOn) = 0;
274
280
286 virtual SDKError isTemplateThumbnailsReady(bool& bReady) = 0;
287
293
299 virtual SDKError downloadTemplate(ICustomImmersiveTemplate* immersiveTemplate) = 0;
300
307 virtual SDKError canStartImmersiveView(ICustomImmersiveTemplate* immersiveTemplate, bool& bCan) = 0;
308
315 virtual SDKError startImmersiveView(ICustomImmersiveTemplate* immersiveTemplate) = 0;
316
322 virtual SDKError changeTemplate(ICustomImmersiveTemplate* immersiveTemplate) = 0;
323
329
335
342 virtual SDKError canUserShowInImmersiveView(unsigned int userID, bool& bCan) = 0;
343
349
355
362 virtual SDKError assignUser(unsigned int userID, unsigned int seatID) = 0;
363
370 virtual SDKError putUserToFreeSeat(unsigned int userID, RECT pos) = 0;
371
377 virtual SDKError removeUser(unsigned int userID) = 0;
378
385 virtual SDKError isUserInImmersiveView(unsigned int userID, bool& bIn) = 0;
386
393 virtual SDKError addCustomImageTemplate(const zchar_t* filePath, ICustomImmersiveTemplate** immersiveTemplate) = 0;
394
401
407 virtual SDKError isInImmersiveShareMode(bool& bInShare) = 0;
408
414 virtual SDKError viewShare(unsigned int shareSourceID) = 0;
415
421 virtual SDKError getViewingShareSourceID(unsigned int& shareSourceID) = 0;
422
424};
425
426
427
429#endif
Meeting immersive controller interface. For more details on this feature, see https://support....
virtual SDKError putUserToFreeSeat(unsigned int userID, RECT pos)=0
Put the user in the free seat.
virtual SDKError removeCustomImageTemplate(ICustomImmersiveTemplate *immersiveTemplate)=0
Remove custom image template.
virtual SDKError getViewingShareSourceID(unsigned int &shareSourceID)=0
Query the share source ID when viewing share in immersive mode, only available for host.
virtual IList< ICustomImmersiveTemplate * > * getTemplates()=0
Get the list of templates.
virtual SDKError downloadTemplate(ICustomImmersiveTemplate *immersiveTemplate)=0
Download complete template resource.
virtual SDKError downloadTemplateThumbnails()=0
Download the template thumbnails. See /link ICustomImmersiveCtrlEvent /endlink for updates on the dow...
virtual SDKError canStartImmersiveView(ICustomImmersiveTemplate *immersiveTemplate, bool &bCan)=0
Determine if the immersive template can be started.
virtual SDKError assignUser(unsigned int userID, unsigned int seatID)=0
Put the user in the seat.
virtual SDKError startImmersiveView(ICustomImmersiveTemplate *immersiveTemplate)=0
Start immersive view.
virtual SDKError isInImmersiveShareMode(bool &bInShare)=0
Determine if displaying sharing contents in immersive mode.
virtual IList< CustomImmersiveLayoutData > * getLayoutData()=0
Get the immersive seat layout data.
virtual SDKError SetEvent(ICustomImmersiveCtrlEvent *pEvent)=0
Set immersive object callback event handler.
virtual SDKError isTemplateThumbnailsReady(bool &bReady)=0
Determine if the thumbnails are ready.
virtual SDKError changeTemplate(ICustomImmersiveTemplate *immersiveTemplate)=0
Change template in immersive view.
virtual SDKError endImmersiveView()=0
Exit immersive view.
virtual ICustomImmersivePreLayoutHelper * getImmersivePreLayoutHelper()=0
Get the immersive pre-layout helper pointer.
virtual SDKError isImmersiveViewOn(bool &bOn)=0
Determine if immersive view is active.
virtual SDKError isSupportImmersive(bool &bSupport)=0
Determine if immersive is supported.
virtual SDKError removeUser(unsigned int userID)=0
Remove user from immersive view.
virtual SDKError viewShare(unsigned int shareSourceID)=0
Update the share source ID to view share, only available for host.
virtual ICustomImmersiveTemplate * getCurrentTemplate()=0
Get the current template.
virtual SDKError addCustomImageTemplate(const zchar_t *filePath, ICustomImmersiveTemplate **immersiveTemplate)=0
Add a template based on a custom image.
virtual SDKError isUserInImmersiveView(unsigned int userID, bool &bIn)=0
Determine if the user is in immersive view.
virtual SDKError canUserShowInImmersiveView(unsigned int userID, bool &bCan)=0
Determine if the user can be shown in immersive view.
Immersive controller object interface.
virtual void onSelectedImmersiveTemplateChanged(ICustomImmersiveTemplate *immersiveTemplate)=0
Callback event that the selected immersive template changed.
virtual void onImmersiveStatusChanged(bool bOn)=0
Callback event that the immersive view was enabled/disabled.
virtual void onTemplateDownloadEnded(ICustomImmersiveTemplate *immersiveTemplate, bool bSuccess)=0
Callback event for the immersive template download end.
virtual void onTemplateDownloadProgress(ICustomImmersiveTemplate *immersiveTemplate, unsigned int progress)=0
Callback event for the immersive template download process.
virtual void onImmersiveSeatLayoutUpdated(IList< CustomImmersiveLayoutData > *seatList)=0
Callback event that the immersive seat layout changed.
virtual void onTemplateThumbnailsDownloadEnded(bool bSuccess)=0
Callback event that template thumbnails download end.
Immersive pre-layout helper interface to update immersive view layout at once.
virtual IList< CustomImmersiveLayoutData > * getPreLayoutData()=0
Get the pre-layout data.
virtual SDKError addUser(unsigned int userID, unsigned int seatID)=0
Add a user to the pre-layout with a seat ID.
virtual SDKError commit()=0
Commit pre-layout data to immersive view. This only works just after the immersive view starts.
virtual SDKError addUser(unsigned int userID, RECT pos)=0
Add a user to the pre-layout with a position.
virtual SDKError removeAllUsers()=0
Remove all users from the pre-layout.
virtual SDKError removeUser(unsigned int userID)=0
Remove a user from the pre-layout.
Immersive template data object interface.
virtual IList< SeatPlacementInfo > * getSeatList()=0
Get the list of template seats.
virtual SIZE getCanvasSize()=0
Get the size of this template.
Immersive template object interface.
virtual bool isTemplateReady()=0
Determine if this template is ready.
virtual CustomImmersiveTemplateType getType()=0
Get the type of this template.
virtual ICustomImmersiveTemplateData * getVideoTemplateData()=0
Get the template data of immersive when in default mode.
virtual const void * getThumbnailBitmap()=0
Get the bitmap of the thumbnail.
virtual unsigned int getCapacity()=0
Get the capacity of this template.
virtual ICustomImmersiveTemplateData * getShareTemplateData()=0
Get the template data of immersive when in share mode.
virtual bool isSupportFreeSeat()=0
Determine whether this template supports a free seat.
virtual const zchar_t * getTemplateName()=0
Get the name of this template.
CustomImmersiveTemplateType
Type of immersive template. View more detailed structural descriptions.
@ CustomImmersiveTemplateType_CustomImage
@ CustomImmersiveTemplateType_MyVideo
@ CustomImmersiveTemplateType_Default
Layout data of immersive.
Information of seat placement in a template.
ZOOM windows SDK Common Definition File.
#define END_ZOOM_SDK_NAMESPACE
wchar_t zchar_t
Definition zoom_sdk_def.h:9
#define BEGIN_ZOOM_SDK_NAMESPACE
SDKError
Enumeration of common errors of SDK.