Linux SDK API Reference
Loading...
Searching...
No Matches
customized_immersive.h
Go to the documentation of this file.
1
6#ifndef _MEETING_IMMERSIVE_INTERFACE_H_
7#define _MEETING_IMMERSIVE_INTERFACE_H_
8#include "zoom_sdk_def.h"
9
11
17{
21};
22
27{
28 unsigned int seat_id;
29 RECT position;
30};
31
36{
38 unsigned int seat_id;
39 unsigned int user_id;
40 unsigned int z_order;
41 RECT position;
42};
43
47{
48public:
51 virtual const zchar_t* getTemplateName() = 0;
52
55 virtual const void* getThumbnailBitmap() = 0;
56
59 virtual unsigned int getCapacity() = 0;
60
63 virtual bool isTemplateReady() = 0;
64
67 virtual bool isSupportFreeSeat() = 0;
68
71 virtual SIZE getCanvasSize() = 0;
72
76
80
82};
83
87{
88public:
94 virtual SDKError addUser(unsigned int userID, unsigned int seatID) = 0;
95
101 virtual SDKError addUser(unsigned int userID, RECT pos) = 0;
102
107 virtual SDKError removeUser(unsigned int userID) = 0;
108
113
117
121 virtual SDKError commit() = 0;
122
124};
125
129{
130public:
133 virtual void onImmersiveStatusChanged(bool bOn) = 0;
134
138
142
146 virtual void onTemplateDownloadProgress(ICustomImmersiveTemplate* immersiveTemplate, unsigned int progress) = 0;
147
151 virtual void onTemplateDownloadEnded(ICustomImmersiveTemplate* immersiveTemplate, bool bSuccess) = 0;
152
155 virtual void onTemplateThumbnailsDownloadEnded(bool bSuccess) = 0;
156
158};
159
163{
164public:
170
175 virtual SDKError isSupportImmersive(bool& bSupport) = 0;
176
181 virtual SDKError isImmersiveViewOn(bool& bOn) = 0;
182
187
192 virtual SDKError isTemplateThumbnailsReady(bool& bReady) = 0;
193
197
202 virtual SDKError downloadTemplate(ICustomImmersiveTemplate* immersiveTemplate) = 0;
203
209 virtual SDKError canStartImmersiveView(ICustomImmersiveTemplate* immersiveTemplate, bool& bCan) = 0;
210
216 virtual SDKError startImmersiveView(ICustomImmersiveTemplate* immersiveTemplate) = 0;
217
222 virtual SDKError changeTemplate(ICustomImmersiveTemplate* immersiveTemplate) = 0;
223
228
232
238 virtual SDKError canUserShowInImmersiveView(unsigned int userID, bool& bCan) = 0;
239
243
247
253 virtual SDKError assignUser(unsigned int userID, unsigned int seatID) = 0;
254
260 virtual SDKError putUserToFreeSeat(unsigned int userID, RECT pos) = 0;
261
266 virtual SDKError removeUser(unsigned int userID) = 0;
267
273 virtual SDKError isUserInImmersiveView(unsigned int userID, bool& bIn) = 0;
274
280 virtual SDKError addCustomImageTemplate(const zchar_t* filePath, ICustomImmersiveTemplate** immersiveTemplate) = 0;
281
287
288
290};
291
292
293
295#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 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 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 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 object interface.
virtual bool isTemplateReady()=0
Determine if this template is ready.
virtual CustomImmersiveTemplateType getType()=0
Get the type of this template.
virtual const void * getThumbnailBitmap()=0
Get the bitmap of the thumbnail.
virtual unsigned int getCapacity()=0
Get the capacity of this template.
virtual bool isSupportFreeSeat()=0
Determine whether this template supports a free seat.
virtual const zchar_t * getTemplateName()=0
Get the name of this template.
virtual IList< SeatPlacementInfo > * getSeatList()=0
Get the list of template seats.
virtual SIZE getCanvasSize()=0
Get the size of this template.
CustomImmersiveTemplateType
Type of immersive template. View more detailed structural descriptions.
@ CustomImmersiveTemplateType_CustomImage
A template using a custom image. This kind of template can only be used after CustomImmersiveTemplate...
@ CustomImmersiveTemplateType_MyVideo
The my video template.
@ CustomImmersiveTemplateType_Default
The default template.
Layout data of immersive.
unsigned int user_id
The user ID.
unsigned int seat_id
The seat ID.
RECT position
The seat position.
bool is_seat_free
Whether this user is in seat.
unsigned int z_order
The seat z order. Higher numbers are displayed on top of lower ones.
Information of seat placement in a template.
unsigned int seat_id
The seat ID.
RECT position
The seat position.
ZOOM windows SDK Common Definition File.
#define END_ZOOM_SDK_NAMESPACE
Definition: zoom_sdk_def.h:36
#define BEGIN_ZOOM_SDK_NAMESPACE
Definition: zoom_sdk_def.h:35
char zchar_t
Definition: zoom_sdk_def.h:17
SDKError
SDK error types. Here are more detailed structural descriptions.
Definition: zoom_sdk_def.h:45