Meeting SDK for Windows API Reference
Loading...
Searching...
No Matches
customized_share_render.h
Go to the documentation of this file.
1
6#ifndef _ZOOM_CUSTOMIZED_SHARE_RENDER_H_
7#define _ZOOM_CUSTOMIZED_SHARE_RENDER_H_
8#include "zoom_sdk_def.h"
9
20
24{
25public:
28
31 virtual void onSharingSourceNotification(unsigned int nShareSourceID) = 0;
32
42 virtual void onWindowMsgNotification(UINT uMsg, WPARAM wParam, LPARAM lParam) = 0;
43};
44
48{
49public:
50
54 virtual SDKError Show() = 0;
55
59 virtual SDKError Hide() = 0;
60
64 virtual HWND GetOwnerWnd() = 0;
65
66 virtual ~IShareActionBase() {}
67};
68
72{
73public:
79
86 virtual SDKError SetShareSourceID(unsigned int nShareSourceID) = 0;
87
91 virtual unsigned int GetShareSourceID() = 0;
92
97 virtual SDKError Resize(RECT rc) = 0;
98
104
112};
113
114
118{
119public:
122
132 virtual void onWindowMsgNotification(UINT uMsg, WPARAM wParam, LPARAM lParam) = 0;
133
137 virtual void onActionBeforeDestroyed(const unsigned int iSharingID) = 0;
138
140};
141
145{
146public:
151 virtual SDKError SetEvent(IShareActionEvent* pEvent) = 0;
152
158 virtual SDKError Reposition(RECT rc, HWND hParentWnd = nullptr) = 0;
159
163 virtual const unsigned int GetSharingID() = 0;
164
168 virtual const zchar_t* GetSharingUserName() = 0;
169
173 virtual SDKError Subscribe() = 0;
174
178 virtual SDKError Unsubscribe() = 0;
179
180 virtual ~IShareAction() {}
181};
182
184
185#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.
@ CSM_LETTER_BOX
View the shared content in original size.
@ CSM_FULLFILL
View the shared content in full screen mode.
ZOOM windows SDK Common Definition File.
#define END_ZOOM_SDK_NAMESPACE
wchar_t zchar_t
#define BEGIN_ZOOM_SDK_NAMESPACE
SDKError
Enumeration of common errors of SDK.