ZOOM Windows SDK  5.2.42037.1112
meeting_h323_helper_interface.h
Go to the documentation of this file.
1 
6 #ifndef _MEETING_H323_HELPER_INTERFACE_H_
7 #define _MEETING_H323_HELPER_INTERFACE_H_
8 #include "..\zoom_sdk_def.h"
9 #include <string>
10 
11 BEGIN_ZOOM_SDK_NAMESPACE
14 
20 {
28 };
29 
35 {
42 };
43 
47 {
48 public:
51  virtual void onCalloutStatusNotify(H323CalloutStatus status) = 0;
52 
56  virtual void onParingH323Result(H323ParingResult result, UINT64 meetingNumber) = 0;
57 };
58 
59 
65 {
70 };
71 
75 {
76 public:
78  virtual const wchar_t* GetName() = 0;
80  virtual const wchar_t* GetIP() = 0;
82  virtual const wchar_t* GetE164Num() = 0;
84  virtual H323DeviceType GetDeviceType() = 0;
85  virtual bool IsCustomizedH323Device() = 0;
86  virtual ~IH323Device(){};
87 };
88 
92 {
93 public:
95  {
96  _type = H323DeviceType_Unknown;
97  }
98 
99  virtual void SetName(const wchar_t* name_)
100  {
101  if (name_)
102  _name = name_;
103  }
104 
105  virtual const wchar_t* GetName()
106  {
107  return _name.c_str();
108  }
109 
110  virtual void SetIP(const wchar_t* ip_)
111  {
112  if (ip_)
113  _ip = ip_;
114  }
115 
116  virtual const wchar_t* GetIP()
117  {
118  return _ip.c_str();
119  }
120 
121  virtual void SetE164Num(const wchar_t* e164num_)
122  {
123  if (e164num_)
124  _e164num = e164num_;
125  }
126 
127  virtual const wchar_t* GetE164Num()
128  {
129  return _e164num.c_str();
130  }
131 
132  virtual void SetDeviceType(H323DeviceType type_)
133  {
134  _type = type_;
135  }
136 
137  virtual H323DeviceType GetDeviceType()
138  {
139  return _type;
140  }
141 
142  virtual bool IsCustomizedH323Device()
143  {
144  return true;
145  }
146 
147 private:
148  H323DeviceType _type;
149  std::wstring _name;
150  std::wstring _ip;
151  std::wstring _e164num;
152 };
153 
157 {
158 public:
161  virtual void SetEvent(IMeetingH323HelperEvent* pEvent) = 0;
162 
165  virtual IList<const wchar_t* >* GetH323Address() = 0;
166 
169  virtual const wchar_t* GetH323Password() = 0;
170 
175  virtual SDKError CanPairingMeeting(UINT64 meetingNum) = 0;
176 
183  virtual SDKError SendMeetingParingCode(UINT64 meetingNum, wchar_t* paringCode) = 0;
184 
190 
196  virtual SDKError CallOutH323(IH323Device* deviceInfo) = 0;
197 
201  virtual SDKError CancelCallOutH323() = 0;
202 };
203 END_ZOOM_SDK_NAMESPACE
204 #endif
Bell during the call.
Definition: meeting_h323_helper_interface.h:23
Meeting H.323 device Interface.
Definition: meeting_h323_helper_interface.h:74
H.323 device and SIP device.
Definition: meeting_h323_helper_interface.h:69
virtual SDKError CancelCallOutH323()=0
Cancel current outgoing call.
Customized Meeting H.323 device.
Definition: meeting_h323_helper_interface.h:91
virtual const wchar_t * GetName()
<Virtual function definition.
Definition: meeting_h323_helper_interface.h:105
virtual void onParingH323Result(H323ParingResult result, UINT64 meetingNumber)=0
The callback event is triggered when the result of using the H.323 device to pair the assigned meetin...
virtual IList< const wchar_t *> * GetH323Address()=0
Get the list of H.323 call-in number supported by the current meeting.
Decline.
Definition: meeting_h323_helper_interface.h:27
Unknown device, only for initialization.
Definition: meeting_h323_helper_interface.h:66
Definition: zoom_sdk_def.h:288
H323CalloutStatus
Callback Event of Meeting H.323 helper.
Definition: meeting_h323_helper_interface.h:19
virtual const wchar_t * GetIP()=0
Virtual function definition.
H.323 device.
Definition: meeting_h323_helper_interface.h:67
H323DeviceType
H.323 device type. Here are more detailed structural descriptions.
Definition: meeting_h323_helper_interface.h:64
virtual void onCalloutStatusNotify(H323CalloutStatus status)=0
Callback event when the calling status of H.323 device changes.
SDKError
SDK error types. Here are more detailed structural descriptions.
Definition: zoom_sdk_def.h:29
virtual void SetEvent(IMeetingH323HelperEvent *pEvent)=0
Set meeting H.323 helper callback event handler.
virtual IList< IH323Device *> * GetCalloutH323DviceList()=0
Get the list of the call-out devices supported by the current meeting.
No pairing privilege.
Definition: meeting_h323_helper_interface.h:40
Used only for initialization.
Definition: meeting_h323_helper_interface.h:21
virtual SDKError SendMeetingParingCode(UINT64 meetingNum, wchar_t *paringCode)=0
Send Meeting paring code.
virtual const wchar_t * GetIP()
Virtual function definition.
Definition: meeting_h323_helper_interface.h:116
SIP device.
Definition: meeting_h323_helper_interface.h:68
The meeting being paired does not exist.
Definition: meeting_h323_helper_interface.h:38
Call fails.
Definition: meeting_h323_helper_interface.h:25
Other issues.
Definition: meeting_h323_helper_interface.h:41
virtual const wchar_t * GetH323Password()=0
Get the H.323 password for the current meeting.
Busy.
Definition: meeting_h323_helper_interface.h:26
Pairing code does not exist.
Definition: meeting_h323_helper_interface.h:39
Meeting H323 Helper Interface.
Definition: meeting_h323_helper_interface.h:156
virtual SDKError CallOutH323(IH323Device *deviceInfo)=0
Call out with the assigned H.323 device.
H323ParingResult
H.323 Pairing status. Here are more detailed structural descriptions.
Definition: meeting_h323_helper_interface.h:34
Meeting H.323 Helper callback event.
Definition: meeting_h323_helper_interface.h:46
virtual const wchar_t * GetE164Num()=0
Virtual function definition.
virtual const wchar_t * GetE164Num()
Virtual function definition.
Definition: meeting_h323_helper_interface.h:127
Call timeout.
Definition: meeting_h323_helper_interface.h:24
Used only for initialization.
Definition: meeting_h323_helper_interface.h:36
Call out successfully.
Definition: meeting_h323_helper_interface.h:22
virtual SDKError CanPairingMeeting(UINT64 meetingNum)=0
Determine if it is enabled to pair the meeting.
virtual const wchar_t * GetName()=0
<Virtual function definition.
Pairing successful.
Definition: meeting_h323_helper_interface.h:37