Skip to content

Commit 7d1a29a

Browse files
authored
Update zoom windows to v6.0.11 (#33)
1 parent d96deb9 commit 7d1a29a

File tree

100 files changed

+902
-141
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

100 files changed

+902
-141
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Current versions of the Zoom Meeting SDK
22

3-
Windows: v6.0.2
3+
Windows: v6.0.11
44

55
Android: v6.0.2
66

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: flutter_zoom_sdk
22
description: Zoom SDK from ZOOM ported to flutter as plugin with all necessary features and with Null Safety which is implementation by EvilRATT
3-
version: 1.3.3
3+
version: 1.3.4
44
homepage: https://github.com/evilrat/flutter_zoom_sdk
55
repository: https://github.com/evilrat/flutter_zoom_sdk
66
issue_tracker: https://github.com/evilrat/flutter_zoom_sdk/issues

windows/h/customized_ui/customized_share_render.h

Lines changed: 91 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -42,16 +42,11 @@ class ICustomizedShareRenderEvent
4242
virtual void onWindowMsgNotification(UINT uMsg, WPARAM wParam, LPARAM lParam) = 0;
4343
};
4444

45-
/// \brief Share render interface.
45+
/// \brief Share action base interface.
4646
///
47-
class ICustomizedShareRender
47+
class IShareActionBase
4848
{
4949
public:
50-
/// \brief Set the share render callback event handler.
51-
/// \param pEvent A pointer to the ICustomizedShareRenderEvent that receives the share render event.
52-
/// \return If the function succeeds, the return value is SDKErr_Success.
53-
///Otherwise failed. To get extended error information, see \link SDKError \endlink enum.
54-
virtual SDKError SetEvent(ICustomizedShareRenderEvent* pEvent) = 0;
5550

5651
/// \brief Show the shared content received.
5752
/// \return If the function succeeds, the return value is SDKErr_Success.
@@ -63,6 +58,25 @@ class ICustomizedShareRender
6358
///Otherwise failed. To get extended error information, see \link SDKError \endlink enum.
6459
virtual SDKError Hide() = 0;
6560

61+
/// \brief Get the window handle of showing sharing content.
62+
/// \return If the function succeeds, the return value is the window handle.
63+
///Otherwise failed, the return value is NULL.
64+
virtual HWND GetOwnerWnd() = 0;
65+
66+
virtual ~IShareActionBase() {}
67+
};
68+
69+
/// \brief Share render interface.
70+
///
71+
class ICustomizedShareRender : public IShareActionBase
72+
{
73+
public:
74+
/// \brief Set the share render callback event handler.
75+
/// \param pEvent A pointer to the ICustomizedShareRenderEvent that receives the share render event.
76+
/// \return If the function succeeds, the return value is SDKErr_Success.
77+
///Otherwise failed. To get extended error information, see \link SDKError \endlink enum.
78+
virtual SDKError SetEvent(ICustomizedShareRenderEvent* pEvent) = 0;
79+
6680
/// \brief View the sharing content from the specified user ID.
6781
/// \param userid Specify the user ID that is sending the sharing content.
6882
/// \remarks Call the IMeetingShareController::GetViewableShareSourceList to get the list of users who are sending the sharing.
@@ -88,11 +102,6 @@ class ICustomizedShareRender
88102
///Otherwise failed. To get extended error information, see \link SDKError \endlink enum.
89103
virtual SDKError SetViewMode(CustomizedViewShareMode mode) = 0;
90104

91-
/// \brief Get the window handle of showing sharing content.
92-
/// \return If the function succeeds, the return value is the window handle.
93-
///Otherwise failed, the return value is NULL.
94-
virtual HWND GetOwnerWnd() = 0;
95-
96105
/// \brief Redraw the window of showing the sharing.
97106
/// \return If the function succeeds, the return value is SDKErr_Success.
98107
///Otherwise failed. To get extended error information, see \link SDKError \endlink enum.
@@ -101,6 +110,76 @@ class ICustomizedShareRender
101110
virtual SDKError HandleWindowsMoveMsg() = 0;
102111
virtual ~ICustomizedShareRender(){}
103112
};
113+
114+
115+
/// \brief The share action callback event.
116+
///
117+
class IShareActionEvent
118+
{
119+
public:
120+
/// \brief Callback event the moment the user receives the shared content.
121+
virtual void onSharingContentStartRecving() = 0;
122+
123+
/// \brief Callback event when the app receives the window messages from the sharer. This is a list of the window messages.
124+
///WM_MOUSEMOVE
125+
///WM_MOUSEENTER
126+
///WM_MOUSELEAVE
127+
///WM_LBUTTONDOWN
128+
///WM_LBUTTONUP
129+
///WM_RBUTTONUP
130+
///WM_LBUTTONDBLCLK
131+
///WM_KEYDOWN
132+
virtual void onWindowMsgNotification(UINT uMsg, WPARAM wParam, LPARAM lParam) = 0;
133+
134+
/// \brief The callback is triggered before the share action is destroyed.
135+
/// \param iSharingID Specify the sharing ID.
136+
/// \remarks The specified share action is destroyed once the function calls end. The user must complete the operations related to the share action before the function calls end.
137+
virtual void onActionBeforeDestroyed(const unsigned int iSharingID) = 0;
138+
139+
virtual ~IShareActionEvent() {}
140+
};
141+
142+
/// \brief The share action interface.
143+
///
144+
class IShareAction : public IShareActionBase
145+
{
146+
public:
147+
/// \brief Set the share action callback event handler.
148+
/// \param pEvent A pointer to the IShareActionEvent that receives the share render event.
149+
/// \return If the function succeeds, the return value is SDKErr_Success.
150+
///Otherwise the function fails. To get extended error information, see \link SDKError \endlink enum.
151+
virtual SDKError SetEvent(IShareActionEvent* pEvent) = 0;
152+
153+
/// \brief Resize the share action in the specified area and reset the parent window.
154+
/// \param rc Specify a new display area. The coordinate value of the structure is that of the parent window of share action.
155+
/// \param hParentWnd Specify a new parent window HWND.
156+
/// \return If the function succeeds, the return value is SDKErr_Success.
157+
///Otherwise the function fails. To get extended error information, see \link SDKError \endlink enum.
158+
virtual SDKError Reposition(RECT rc, HWND hParentWnd = nullptr) = 0;
159+
160+
/// \brief Get the sharing ID.
161+
/// \return If the function succeeds, the return value is the sharing ID.
162+
///Otherwise the function fails, and the return value is ZERO(0).
163+
virtual const unsigned int GetSharingID() = 0;
164+
165+
/// \brief Get the name of the sharing user.
166+
/// \return If the function succeeds, the return value is the name.
167+
///Otherwise the function fails, and the return value is NULL.
168+
virtual const zchar_t* GetSharingUserName() = 0;
169+
170+
/// \brief Subscribe the sharing content.
171+
/// \return If the function succeeds, the return value is SDKErr_Success.
172+
///Otherwise the function fails. To get extended error information, see \link SDKError \endlink enum.
173+
virtual SDKError Subscribe() = 0;
174+
175+
/// \brief Unsubscribe the sharing content.
176+
/// \return If the function succeeds, the return value is SDKErr_Success.
177+
///Otherwise the function fails. To get extended error information, see \link SDKError \endlink enum.
178+
virtual SDKError Unsubscribe() = 0;
179+
180+
virtual ~IShareAction() {}
181+
};
182+
104183
END_ZOOM_SDK_NAMESPACE
105184

106185
#endif

windows/h/customized_ui/customized_video_container.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,12 @@ class ICustomizedVideoContainer
238238
///Otherwise failed. To get extended error information, see \link SDKError \endlink enum.
239239
virtual SDKError Resize(RECT rc) = 0;
240240

241+
/// \brief Set the video container background color.
242+
/// \param color Specify the color of the video container background in RGB format.
243+
/// \return If the function succeeds, the return value is SDKErr_Success.
244+
///Otherwise the function fails. To get extended error information, see \link SDKError \endlink enum.
245+
virtual SDKError SetBkColor(unsigned long color) = 0;
246+
241247
/// \brief Get the list of video render elements in the current container.
242248
/// \return If the function succeeds, the return value is the list that stores the video render element.
243249
///Otherwise failed, the return list is blank.

0 commit comments

Comments
 (0)