Meeting SDK for Windows API Reference
Loading...
Searching...
No Matches
customized_share_render.h
Go to the documentation of this file.
1
5#ifndef _ZOOM_CUSTOMIZED_SHARE_RENDER_H_
6#define _ZOOM_CUSTOMIZED_SHARE_RENDER_H_
7#include "zoom_sdk_def.h"
8
21
27{
28public:
33
38 virtual void onSharingSourceNotification(unsigned int nShareSourceID) = 0;
39
51 virtual void onWindowMsgNotification(UINT uMsg, WPARAM wParam, LPARAM lParam) = 0;
52};
53
59{
60public:
65 virtual SDKError Show() = 0;
66
71 virtual SDKError Hide() = 0;
72
77 virtual HWND GetOwnerWnd() = 0;
78
79 virtual ~IShareActionBase() {}
80};
81
87{
88public:
95
103 virtual SDKError SetShareSourceID(unsigned int nShareSourceID) = 0;
104
109 virtual unsigned int GetShareSourceID() = 0;
110
116 virtual SDKError Resize(RECT rc) = 0;
117
124
133};
134
140{
141public:
146
158 virtual void onWindowMsgNotification(UINT uMsg, WPARAM wParam, LPARAM lParam) = 0;
159
165 virtual void onActionBeforeDestroyed(const unsigned int iSharingID) = 0;
166
168};
169
175{
176public:
182 virtual SDKError SetEvent(IShareActionEvent* pEvent) = 0;
183
190 virtual SDKError Reposition(RECT rc, HWND hParentWnd = nullptr) = 0;
191
196 virtual const unsigned int GetSharingID() = 0;
197
202 virtual const zchar_t* GetSharingUserName() = 0;
203
208 virtual SDKError Subscribe() = 0;
209
214 virtual SDKError Unsubscribe() = 0;
215
216 virtual ~IShareAction() {}
217};
218
220
221#endif
Share render callback event.
virtual void onWindowMsgNotification(UINT uMsg, WPARAM wParam, LPARAM lParam)=0
Callback event when the App receives the window messages from the sharer. Here are the list of the wi...
virtual void onSharingContentStartReceiving()=0
Callback event the moment received the shared content.
virtual void onSharingSourceNotification(unsigned int nShareSourceID)=0
Callback event of changed sender or the sharing closes when receiving the shared content.
Share render interface.
virtual SDKError SetEvent(ICustomizedShareRenderEvent *pEvent)=0
Set the share render callback event handler.
virtual unsigned int GetShareSourceID()=0
Get the share source ID of the user who's sending the sharing.
virtual SDKError SetViewMode(CustomizedViewShareMode mode)=0
Set the view mode of watching the sharing.
virtual SDKError SetShareSourceID(unsigned int nShareSourceID)=0
View the sharing content from the specified share source ID.
virtual SDKError HandleWindowsMoveMsg()=0
Redraw the window of showing the sharing.
virtual SDKError Resize(RECT rc)=0
Reset the dialog size to view the sharing content.
Share action base interface.
virtual SDKError Hide()=0
Hide the shared content received.
virtual SDKError Show()=0
Show the shared content received.
virtual HWND GetOwnerWnd()=0
Get the window handle of showing sharing content.
The share action callback event.
virtual void onActionBeforeDestroyed(const unsigned int iSharingID)=0
The callback is triggered before the share action is destroyed.
virtual void onSharingContentStartReceiving()=0
Callback event the moment the user receives the shared content.
virtual void onWindowMsgNotification(UINT uMsg, WPARAM wParam, LPARAM lParam)=0
Callback event when the app receives the window messages from the sharer. This is a list of the windo...
The share action interface.
virtual SDKError Subscribe()=0
Subscribe the sharing content.
virtual const zchar_t * GetSharingUserName()=0
Get the name of the sharing user.
virtual SDKError SetEvent(IShareActionEvent *pEvent)=0
Set the share action callback event handler.
virtual SDKError Unsubscribe()=0
Unsubscribe the sharing content.
virtual SDKError Reposition(RECT rc, HWND hParentWnd=nullptr)=0
Resize the share action in the specified area and reset the parent window.
virtual const unsigned int GetSharingID()=0
Get the sharing ID.
CustomizedViewShareMode
View mode of shared render. Here are more detailed structural descriptions.
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.