6#ifndef _ZOOM_CUSTOMIZED_SHARE_RENDER_H_
7#define _ZOOM_CUSTOMIZED_SHARE_RENDER_H_
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.
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 ~ICustomizedShareRender()
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 ~IShareActionBase()
virtual HWND GetOwnerWnd()=0
Get the window handle of showing sharing content.
The share action callback event.
virtual ~IShareActionEvent()
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
#define BEGIN_ZOOM_SDK_NAMESPACE
SDKError
Enumeration of common errors of SDK.