ZOOM Windows SDK  5.2.42037.1112
direct_share_helper_interface.h
Go to the documentation of this file.
1 
6 #ifndef _DIRECT_SHARE_SERVICE_HELPER_INTERFACE_H_
7 #define _DIRECT_SHARE_SERVICE_HELPER_INTERFACE_H_
8 #include "zoom_sdk_def.h"
9 
10 BEGIN_ZOOM_SDK_NAMESPACE
11 
17 {
26 }DirectShareStatus;
27 
31 {
32 public:
34 
39  virtual SDKError TryWithMeetingNumber(UINT64 meetingNumber) = 0;
40 
45  virtual SDKError TryWithPairingCode(const wchar_t* pairingCode) = 0;
46 
50  virtual SDKError Cancel() = 0;
51 };
52 
56 {
57 public:
62  virtual void OnDirectShareStatusUpdate(DirectShareStatus status, IDirectShareViaMeetingIDOrPairingCodeHandler* handler) = 0;
63 
64 };
65 
69 {
70 public:
71 
77 
81  virtual SDKError CanStartDirectShare()= 0;
82 
85  virtual bool IsDirectShareInProgress() = 0;
86 
91  virtual SDKError StartDirectShare() = 0;
92 
97  virtual SDKError StopDirectShare() = 0;
98 };
99 
100 END_ZOOM_SDK_NAMESPACE
101 #endif
virtual SDKError StartDirectShare()=0
Start direct sharing.
Network error. Please try again later.
Definition: direct_share_helper_interface.h:23
virtual SDKError StopDirectShare()=0
Stop direct sharing.
virtual SDKError TryWithPairingCode(const wchar_t *pairingCode)=0
Try to match with the pairing code.
ZOOM windows SDK Common Definition File.
virtual SDKError CanStartDirectShare()=0
Determine if it is able to start the direct sharing.
Waiting for enabling the direct sharing.
Definition: direct_share_helper_interface.h:19
End the direct sharing.
Definition: direct_share_helper_interface.h:21
virtual SDKError SetEvent(IDirectShareServiceHelperEvent *pEvent)=0
Direct sharing helper callback event handler.
virtual SDKError Cancel()=0
Delete the present direct sharing.
SDKError
SDK error types. Here are more detailed structural descriptions.
Definition: zoom_sdk_def.h:29
virtual void OnDirectShareStatusUpdate(DirectShareStatus status, IDirectShareViaMeetingIDOrPairingCodeHandler *handler)=0
The callback event will be triggered if the status of direct sharing changes.
DirectShareStatusStatus_Enum
Direct sharing status. Here are more detailed structural descriptions.
Definition: direct_share_helper_interface.h:16
Other errors. Mainly occur in SIP call mode.
Definition: direct_share_helper_interface.h:24
Direct sharing by meeting ID or pairing code helper interface.
Definition: direct_share_helper_interface.h:30
In direct sharing mode.
Definition: direct_share_helper_interface.h:20
Direct sharing helper Interface.
Definition: direct_share_helper_interface.h:68
Re-enter the meeting ID/paring code.
Definition: direct_share_helper_interface.h:22
Only for initialization.
Definition: direct_share_helper_interface.h:18
virtual bool IsDirectShareInProgress()=0
Determine if direct sharing is in progress.
virtual SDKError TryWithMeetingNumber(UINT64 meetingNumber)=0
Try to match with the specified meeting number.
Direct sharing helper callback event.
Definition: direct_share_helper_interface.h:55
Wrong meeting id or sharing key.
Definition: direct_share_helper_interface.h:25