ZOOM Windows SDK  5.2.41727.0928
Public Member Functions | List of all members
ICustomizedVideoContainerEvent Class Referenceabstract

Callback event of custom video container. More...

#include <customized_video_container.h>

Public Member Functions

virtual void onRenderUserChanged (IVideoRenderElement *pElement, unsigned int userid)=0
 The callback will be triggered if the video render element corresponding to the user changes. More...
 
virtual void onRenderDataTypeChanged (IVideoRenderElement *pElement, VideoRenderDataType dataType)=0
 The callback will be triggered if the video render element corresponding to data type changes. More...
 
virtual void onLayoutNotification (RECT wnd_client_rect)=0
 The callback will be triggered if the size of video container changes. The user should redeploy the video render elements displayed once received the callback event. More...
 
virtual void onVideoRenderElementDestroyed (IVideoRenderElement *pElement)=0
 The callback will be triggered before the video render element is destroyed. More...
 
virtual void onWindowMsgNotification (UINT uMsg, WPARAM wParam, LPARAM lParam)=0
 The SDK will pass the window messages to users via the callback. Here are the messages. WM_MOUSEMOVE WM_MOUSEENTER WM_MOUSELEAVE WM_LBUTTONDOWN WM_LBUTTONUP WM_RBUTTONUP WM_LBUTTONDBLCLK WM_KEYDOWN.
 

Detailed Description

Callback event of custom video container.

Member Function Documentation

◆ onLayoutNotification()

virtual void ICustomizedVideoContainerEvent::onLayoutNotification ( RECT  wnd_client_rect)
pure virtual

The callback will be triggered if the size of video container changes. The user should redeploy the video render elements displayed once received the callback event.

Parameters
wnd_client_rectSpecify a new display area. The coordinate value of the structure is that of the parent window of the video container.

◆ onRenderDataTypeChanged()

virtual void ICustomizedVideoContainerEvent::onRenderDataTypeChanged ( IVideoRenderElement pElement,
VideoRenderDataType  dataType 
)
pure virtual

The callback will be triggered if the video render element corresponding to data type changes.

Parameters
pElementThe video render elements corresponding to data type that is changed.
dataTypeSpecify a new render data type. For more details, see VideoRenderDataType enum.

◆ onRenderUserChanged()

virtual void ICustomizedVideoContainerEvent::onRenderUserChanged ( IVideoRenderElement pElement,
unsigned int  userid 
)
pure virtual

The callback will be triggered if the video render element corresponding to the user changes.

Parameters
pElementThe video render element corresponding to the user who is changed.
useridSpecify the ID of new user.

◆ onVideoRenderElementDestroyed()

virtual void ICustomizedVideoContainerEvent::onVideoRenderElementDestroyed ( IVideoRenderElement pElement)
pure virtual

The callback will be triggered before the video render element is destroyed.

Parameters
pElementSpecify the video render element to be destroyed.
Remarks
The specified video render element will be destroyed once the function calls end. The user should complete the operations to the related video render element.

The documentation for this class was generated from the following file: