Meeting SDK for Windows API Reference
Loading...
Searching...
No Matches
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
14
29
43
47{
48public:
52 virtual void onCalloutStatusNotify(H323CalloutStatus status) = 0;
53
57 virtual void onParingH323Result(H323ParingResult result, UINT64 meetingNumber) = 0;
58};
59
60
72
76{
77public:
79 virtual const zchar_t* GetName() = 0;
81 virtual const zchar_t* GetIP() = 0;
83 virtual const zchar_t* GetE164Num() = 0;
86 virtual bool IsCustomizedH323Device() = 0;
87 virtual ~IH323Device(){};
88};
89
93{
94public:
99
100 virtual void SetName(const zchar_t* name_)
101 {
102 if (name_)
103 _name = name_;
104 }
105
106 virtual const zchar_t* GetName()
107 {
108 return _name.c_str();
109 }
110
111 virtual void SetIP(const zchar_t* ip_)
112 {
113 if (ip_)
114 _ip = ip_;
115 }
116
117 virtual const zchar_t* GetIP()
118 {
119 return _ip.c_str();
120 }
121
122 virtual void SetE164Num(const zchar_t* e164num_)
123 {
124 if (e164num_)
125 _e164num = e164num_;
126 }
127
128 virtual const zchar_t* GetE164Num()
129 {
130 return _e164num.c_str();
131 }
132
133 virtual void SetDeviceType(H323DeviceType type_)
134 {
135 _type = type_;
136 }
137
139 {
140 return _type;
141 }
142
144 {
145 return true;
146 }
147
148private:
150 std::wstring _name;
151 std::wstring _ip;
152 std::wstring _e164num;
153};
154
158{
159public:
162 virtual void SetEvent(IMeetingH323HelperEvent* pEvent) = 0;
163
167
170 virtual const zchar_t* GetH323Password() = 0;
171
176 virtual SDKError CanPairingMeeting(UINT64 meetingNum) = 0;
177
184 virtual SDKError SendMeetingParingCode(UINT64 meetingNum, zchar_t* paringCode) = 0;
185
191
197 virtual SDKError CallOutH323(IH323Device* deviceInfo) = 0;
198
203};
205#endif
Customized Meeting H.323 device.
H323DeviceType _type
Type of device.
virtual const zchar_t * GetIP()
Virtual function definition.
virtual H323DeviceType GetDeviceType()
virtual void SetIP(const zchar_t *ip_)
virtual void SetDeviceType(H323DeviceType type_)
virtual void SetE164Num(const zchar_t *e164num_)
virtual void SetName(const zchar_t *name_)
virtual const zchar_t * GetE164Num()
Virtual function definition.
virtual const zchar_t * GetName()
<Virtual function definition.
std::wstring _e164num
E.164 number.
Meeting H.323 device Interface.
virtual const zchar_t * GetName()=0
<Virtual function definition.
virtual H323DeviceType GetDeviceType()=0
virtual const zchar_t * GetE164Num()=0
Virtual function definition.
virtual bool IsCustomizedH323Device()=0
virtual const zchar_t * GetIP()=0
Virtual function definition.
Meeting H.323 Helper callback event.
virtual void onCalloutStatusNotify(H323CalloutStatus status)=0
Callback event when the calling status of H.323 device changes.
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...
Meeting H323 Helper Interface.
virtual IList< const zchar_t * > * GetH323Address()=0
Get the list of H.323 call-in number supported by the current meeting.
virtual SDKError SendMeetingParingCode(UINT64 meetingNum, zchar_t *paringCode)=0
Send Meeting paring code.
virtual SDKError CanPairingMeeting(UINT64 meetingNum)=0
Determine if it is enabled to pair the meeting.
virtual void SetEvent(IMeetingH323HelperEvent *pEvent)=0
Set meeting H.323 helper callback event handler.
virtual const zchar_t * GetH323Password()=0
Get the H.323 password for the current meeting.
virtual SDKError CancelCallOutH323()=0
Cancel current outgoing call.
virtual IList< IH323Device * > * GetCalloutH323DeviceList()=0
Get the list of the call-out devices supported by the current meeting.
virtual SDKError CallOutH323(IH323Device *deviceInfo)=0
Call out with the assigned H.323 device.
H323CalloutStatus
Callback Event of Meeting H.323 helper.
@ H323Callout_Busy
Busy.
@ H323Callout_Unknown
Used only for initialization.
@ H323Callout_Failed
Call fails.
@ H323Callout_Ring
Bell during the call.
@ H323Callout_Success
Call out successfully.
@ H323Callout_Decline
Decline.
@ H323Callout_Timeout
Call timeout.
H323ParingResult
H.323 Pairing status. Here are more detailed structural descriptions.
@ H323Paring_Unknown
Used only for initialization.
@ H323Paring_Paringcode_Not_Exist
Pairing code does not exist.
@ H323Paring_Meeting_Not_Exist
The meeting being paired does not exist.
@ H323Paring_No_Privilege
No pairing privilege.
@ H323Paring_Other_Error
Other issues.
@ H323Paring_Success
Pairing successful.
H323DeviceType
H.323 device type. Here are more detailed structural descriptions.
@ H323DeviceType_H323
H.323 device.
@ H323DeviceType_Unknown
Unknown device, only for initialization.
@ H323DeviceType_BOTH
H.323 device and SIP device.
@ H323DeviceType_SIP
SIP device.
ZOOM windows SDK Common Definition File.
#define END_ZOOM_SDK_NAMESPACE
wchar_t zchar_t
#define BEGIN_ZOOM_SDK_NAMESPACE
SDKError
Enumeration of common errors of SDK.