zdk.net
GeneralStatusEventListener.h
1 #ifndef ZDK_NET_GeneralStatusEventListener_h
2 #define ZDK_NET_GeneralStatusEventListener_h
3 
4 #include "PublicInterfaces.h"
5 //AudioEventsHandler
6 typedef void (*UnmanagedOnInputLevelChangeUnmanaged)(ZDK::Shared::AudioDevice audioDevice, double level);
7 typedef void (*UnmanagedOnOutputLevelChangeUnmanaged)(ZDK::Shared::AudioDevice audioDevice, double level);
8 typedef void (*UnmanagedOnRingLevelChangeUnmanaged)(ZDK::Shared::AudioDevice audioDevice, double level);
9 typedef void (*UnmanagedOnEnergyLevelChangeUnmanaged)(double inLevel, double outLevel);
10 typedef void (*UnmanagedOnDeviceStateChangeUnmanaged)(ZDK::Shared::AudioDevice audioDevice, ZDK::AudioDeviceState deviceState);
11 typedef void (*UnmanagedOnDeviceErrorUnmanaged)(ZDK::Shared::AudioDevice audioDevice, ZDK::AudioDeviceState deviceState);
12 typedef void (*UnmanagedOnDeviceOpenErrorUnmanaged)(ZDK::Shared::ItemList<ZDK::Shared::AudioDevice> deviceList);
13 //CallEventsHandler
14 typedef void (*UnmanagedOnCallStatusChangedUnmanaged)(ZDK::Shared::Call call, ZDK::Shared::CallStatus status);
15 typedef void (*UnmanagedOnCallExtendedErrorUnmanaged)(ZDK::Shared::Call call, ZDK::Shared::ExtendedError error);
16 typedef void (*UnmanagedOnCallNetworkStatisticsUnmanaged)(ZDK::Shared::Call call, ZDK::Shared::NetworkStatistics networkStatistics);
17 typedef void (*UnmanagedOnCallNetworkQualityLevelUnmanaged)(ZDK::Shared::Call call, int callChannel, ZDK::NetworkQualityLevel qualityLevel);
18 typedef void (*UnmanagedOnCallSecurityLevelChangedUnmanaged)(ZDK::Shared::Call call, ZDK::CallMediaChannel callChannel, ZDK::CallSecurityLevel qualityLevel);
19 typedef void (*UnmanagedOnCallDTMFResultUnmanaged)(ZDK::Shared::Call call, ZDK::Shared::Result result);
20 typedef void (*UnmanagedOnCallDTMFReceivedUnmanaged)(ZDK::Shared::Call call, ZDK::DTMFCodes dtmf);
21 typedef void (*UnmanagedOnCallTransferSucceededUnmanaged)(ZDK::Shared::Call call);
22 typedef void (*UnmanagedOnCallTransferFailureUnmanaged)(ZDK::Shared::Call call, ZDK::Shared::ExtendedError error);
23 typedef void (*UnmanagedOnCallTransferStartedUnmanaged)(ZDK::Shared::Call call, ZDK::Shared::String name, ZDK::Shared::String number, ZDK::Shared::String uri);
24 typedef void (*UnmanagedOnCallZrtpFailedUnmanaged)(ZDK::Shared::Call call, ZDK::Shared::ExtendedError error);
25 typedef void (*UnmanagedOnCallZrtpSuccessUnmanaged)(ZDK::Shared::Call call, ZDK::Shared::String zidHex, int knownPeer, int cacheMismatch, int peerKnowsUs, ZDK::ZRTPSASEncoding sasEncoding, ZDK::Shared::String sas, ZDK::ZRTPHashAlgorithm hash, ZDK::ZRTPCipherAlgorithm cipher, ZDK::ZRTPAuthTag authTag, ZDK::ZRTPKeyAgreement keyAgreement);
26 typedef void (*UnmanagedOnCallZrtpSecondaryErrorUnmanaged)(ZDK::Shared::Call call, int callChannel, ZDK::Shared::ExtendedError error);
27 typedef void (*UnmanagedOnCallSipHeaderFieldsUnmanaged)(ZDK::Shared::Call call, ZDK::Shared::ItemList<ZDK::Shared::HeaderField> headerFields);
28 typedef void (*UnmanagedOnVideoOfferedUnmanaged)(ZDK::Shared::Call call);
29 typedef void (*UnmanagedOnVideoStartedUnmanaged)(ZDK::Shared::Call call, ZDK::OriginType origin);
30 typedef void (*UnmanagedOnVideoStoppedUnmanaged)(ZDK::Shared::Call call, ZDK::OriginType origin);
31 typedef void (*UnmanagedOnVideoCameraChangedUnmanaged)(ZDK::Shared::Call call);
32 typedef void (*UnmanagedOnVideoFormatSelectedUnmanaged)(ZDK::Shared::Call call, ZDK::OriginType dir, int width, int height, float fps);
33 //VideoRendererEventsHandler
34 typedef void (*UnmanagedOnVideoFrameReceivedUnmanaged)(unsigned char* pBuffer, int length, int width, int height);
35 //AccountEventsHandler
36 typedef void (*UnmanagedOnAccountStatusChangedUnmanaged)(ZDK::Shared::Account account, ZDK::AccountStatus status, int statusCode);
37 typedef void (*UnmanagedOnAccountRetryingRegistrationUnmanaged)(ZDK::Shared::Account account, int isRetrying, int inSeconds);
38 typedef void (*UnmanagedOnAccountIncomingCallUnmanaged)(ZDK::Shared::Account account, ZDK::Shared::Call call);
39 typedef void (*UnmanagedOnAccountChatMessageReceivedUnmanaged)(ZDK::Shared::Account account, ZDK::Shared::String pPeer, ZDK::Shared::String pContent);
40 typedef void (*UnmanagedOnAccountExtendedErrorUnmanaged)(ZDK::Shared::Account account, ZDK::Shared::ExtendedError error);
41 typedef void (*UnmanagedOnAccountUserSipOutboundMissingUnmanaged)(ZDK::Shared::Account account);
42 typedef void (*UnmanagedOnAccountCallOwnershipChangedUnmanaged)(ZDK::Shared::Account account, ZDK::Shared::Call call, ZDK::OwnershipChange action);
43 typedef void (*UnmanagedOnAccountSipHeaderFieldsUnmanaged)(ZDK::Shared::Account account, ZDK::Shared::ItemList<ZDK::Shared::HeaderField> headerFields);
44 typedef void (*UnmanagedOnStunNetworkDiscoveredUnmanaged)(ZDK::Shared::Account account, ZDK::NetworkType networkType);
45 //MessageEventsHandler
46 typedef void (*UnmanagedOnMessageStatusChangedUnmanaged)(ZDK::Shared::Message msg, ZDK::MessageStatus status);
47 typedef void (*UnmanagedOnMessageExtendedErrorUnmanaged)(ZDK::Shared::Message msg, ZDK::Shared::ExtendedError error);
48 //SIPProbeEventsHandler
49 typedef void (*UnmanagedOnProbeErrorUnmanaged)(ZDK::Shared::Account account, ZDK::ProbeState curState, ZDK::Shared::ExtendedError error);
50 typedef void (*UnmanagedOnProbeStateUnmanaged)(ZDK::Shared::Account account, ZDK::ProbeState newState);
51 typedef void (*UnmanagedOnProbeSuccessUnmanaged)(ZDK::Shared::Account account, ZDK::TransportType transport);
52 typedef void (*UnmanagedOnProbeFailedUnmanaged)(ZDK::Shared::Account account, ZDK::Shared::ExtendedError error);
53 //AccountProviderEventsHandler
54 typedef void (*UnmanagedOnDefaultAccountChangedUnmanaged)(ZDK::Shared::AccountProvider accountProvider, ZDK::Shared::Account account);
55 //CallsProviderEventsHandler
56 typedef void (*UnmanagedOnCallsProviderActiveCallChangedUnmanaged)(ZDK::Shared::CallsProvider callsProvider, ZDK::Shared::Call activeCall);
57 typedef void (*UnmanagedOnCallsProviderCallAddedUnmanaged)(ZDK::Shared::CallsProvider callsProvider, ZDK::Shared::Call call);
58 typedef void (*UnmanagedOnCallsProviderCallRemovedUnmanaged)(ZDK::Shared::CallsProvider callsProvider, ZDK::Shared::Call call);
59 //ConferenceEventsHandler
60 typedef void (*UnmanagedOnConferenceParticipantJoinedUnmanaged)(ZDK::Shared::Conference conf, ZDK::Shared::Call call);
61 typedef void (*UnmanagedOnConferenceParticipantRemovedUnmanaged)(ZDK::Shared::Conference conf, ZDK::Shared::Call call);
62 typedef void (*UnmanagedOnConferenceExtendedErrorUnmanaged)(ZDK::Shared::Conference conf, ZDK::Shared::String message);
63 //ConferenceProviderEventsHandler
64 typedef void (*UnmanagedOnConferenceAddedUnmanaged)(ZDK::Shared::ConferenceProvider confProvider, ZDK::Shared::Conference conference);
65 typedef void (*UnmanagedOnConferenceRemovedUnmanaged)(ZDK::Shared::ConferenceProvider confProvider, ZDK::Shared::Conference conference);
66 //ContextEventsHandler
67 typedef void (*UnmanagedOnContextSecureCertStatusUnmanaged)(ZDK::Shared::Context context, ZDK::Shared::SecureCertData secureCert);
68 typedef void (*UnmanagedOnContextActivationCompletedUnmanaged)(ZDK::Shared::Context context, ZDK::Shared::ActivationResult activationResult);
69 //DNSRequestEventsHandler
70 typedef void (*UnmanagedOnDnsResultUnmanaged)(ZDK::Shared::DNSRequest dns, ZDK::Shared::String result);
71 typedef void (*UnmanagedOnDnsFailedUnmanaged)(ZDK::Shared::DNSRequest dns);
72 //BanafoEventsHandler
73 typedef void (*UnmanagedOnServiceStateUnmanaged)(ZDK::Shared::BanafoServiceState state);
74 typedef void (*UnmanagedOnRequestStateUnmanaged)(ZDK::ZDKHandle requestId, ZDK::Shared::BanafoRequestState state);
75 typedef void (*UnmanagedOnEventStateUnmanaged)(ZDK::BanafoEventType event, ZDK::Shared::BanafoEventState state);
76 typedef void (*UnmanagedOnContactListUnmanaged)(ZDK::ZDKHandle requestId, ZDK::Shared::BanafoContactSearchCriteria searchCriteria, ZDK::Shared::BanafoRequestState state, ZDK::Shared::Pagination pagination, ZDK::Shared::ItemList<ZDK::Shared::BanafoContact> contactsList);
77 typedef void (*UnmanagedOnIntegrationListUnmanaged)(ZDK::ZDKHandle requestId, ZDK::Shared::BanafoRequestState state, ZDK::Shared::ItemList<ZDK::Shared::BanafoIntegration> integrationsList);
78 typedef void (*UnmanagedOnProfileUnmanaged)(ZDK::ZDKHandle requestId, ZDK::Shared::BanafoProfile profile);
79 typedef void (*UnmanagedOnTranscriptionLanguageListUnmanaged)(ZDK::ZDKHandle requestId, ZDK::Shared::BanafoRequestState state, ZDK::Shared::ItemList<ZDK::Shared::TranscriptLanguage> languageList);
80 //OSCallCordinatorEventsHandler
81 typedef void (*UnmanagedOnAcceptCallRequestUnmanaged)(ZDK::Shared::OSCallCoordinator coordinator, ZDK::CallMediaChannel acceptedMedia);
82 typedef void (*UnmanagedOnRejectCallRequestUnmanaged)(ZDK::Shared::OSCallCoordinator coordinator, ZDK::OSCallRejectionReason rejectionReason);
83 typedef void (*UnmanagedOnHoldCallRequestUnmanaged)(ZDK::Shared::OSCallCoordinator coordinator, ZDK::OriginType origin);
84 typedef void (*UnmanagedOnResumeCallRequestUnmanaged)(ZDK::Shared::OSCallCoordinator coordinator, ZDK::OriginType origin);
85 typedef void (*UnmanagedOnEndCallRequestUnmanaged)(ZDK::Shared::OSCallCoordinator coordinator, ZDK::OriginType origin);
86 //VideoSinkEventsHandler
87 
88 
89  class GeneralStatusEventListener : public ZDK::IAudioEventsHandler, public ZDK::ICallEventsHandler, public ZDK::IVideoRendererEventsHandler, public ZDK::IAccountEventsHandler, public ZDK::IMessageEventsHandler, public ZDK::ISIPProbeEventsHandler, public ZDK::IAccountProviderEventsHandler, public ZDK::ICallsProviderEventsHandler, public ZDK::IConferenceEventsHandler, public ZDK::IConferenceProviderEventsHandler, public ZDK::IContextEventsHandler, public ZDK::IDNSRequestEventsHandler, public ZDK::IBanafoEventsHandler, public ZDK::IOSCallCordinatorEventsHandler, public ZDK::IVideoSinkEventsHandler
90  {
91  public:
92  //AudioEventsHandler
93  UnmanagedOnInputLevelChangeUnmanaged onInputLevelChange = NULL;
94  UnmanagedOnOutputLevelChangeUnmanaged onOutputLevelChange = NULL;
95  UnmanagedOnRingLevelChangeUnmanaged onRingLevelChange = NULL;
96  UnmanagedOnEnergyLevelChangeUnmanaged onEnergyLevelChange = NULL;
97  UnmanagedOnDeviceStateChangeUnmanaged onDeviceStateChange = NULL;
98  UnmanagedOnDeviceErrorUnmanaged onDeviceError = NULL;
99  UnmanagedOnDeviceOpenErrorUnmanaged onDeviceOpenError = NULL;
100  //CallEventsHandler
101  UnmanagedOnCallStatusChangedUnmanaged onCallStatusChanged = NULL;
102  UnmanagedOnCallExtendedErrorUnmanaged onCallExtendedError = NULL;
103  UnmanagedOnCallNetworkStatisticsUnmanaged onCallNetworkStatistics = NULL;
104  UnmanagedOnCallNetworkQualityLevelUnmanaged onCallNetworkQualityLevel = NULL;
105  UnmanagedOnCallSecurityLevelChangedUnmanaged onCallSecurityLevelChanged = NULL;
106  UnmanagedOnCallDTMFResultUnmanaged onCallDTMFResult = NULL;
107  UnmanagedOnCallDTMFReceivedUnmanaged onCallDTMFReceived = NULL;
108  UnmanagedOnCallTransferSucceededUnmanaged onCallTransferSucceeded = NULL;
109  UnmanagedOnCallTransferFailureUnmanaged onCallTransferFailure = NULL;
110  UnmanagedOnCallTransferStartedUnmanaged onCallTransferStarted = NULL;
111  UnmanagedOnCallZrtpFailedUnmanaged onCallZrtpFailed = NULL;
112  UnmanagedOnCallZrtpSuccessUnmanaged onCallZrtpSuccess = NULL;
113  UnmanagedOnCallZrtpSecondaryErrorUnmanaged onCallZrtpSecondaryError = NULL;
114  UnmanagedOnCallSipHeaderFieldsUnmanaged onCallSipHeaderFields = NULL;
115  UnmanagedOnVideoOfferedUnmanaged onVideoOffered = NULL;
116  UnmanagedOnVideoStartedUnmanaged onVideoStarted = NULL;
117  UnmanagedOnVideoStoppedUnmanaged onVideoStopped = NULL;
118  UnmanagedOnVideoCameraChangedUnmanaged onVideoCameraChanged = NULL;
119  UnmanagedOnVideoFormatSelectedUnmanaged onVideoFormatSelected = NULL;
120  //VideoRendererEventsHandler
121  UnmanagedOnVideoFrameReceivedUnmanaged onVideoFrameReceived = NULL;
122  //AccountEventsHandler
123  UnmanagedOnAccountStatusChangedUnmanaged onAccountStatusChanged = NULL;
124  UnmanagedOnAccountRetryingRegistrationUnmanaged onAccountRetryingRegistration = NULL;
125  UnmanagedOnAccountIncomingCallUnmanaged onAccountIncomingCall = NULL;
126  UnmanagedOnAccountChatMessageReceivedUnmanaged onAccountChatMessageReceived = NULL;
127  UnmanagedOnAccountExtendedErrorUnmanaged onAccountExtendedError = NULL;
128  UnmanagedOnAccountUserSipOutboundMissingUnmanaged onAccountUserSipOutboundMissing = NULL;
129  UnmanagedOnAccountCallOwnershipChangedUnmanaged onAccountCallOwnershipChanged = NULL;
130  UnmanagedOnAccountSipHeaderFieldsUnmanaged onAccountSipHeaderFields = NULL;
131  UnmanagedOnStunNetworkDiscoveredUnmanaged onStunNetworkDiscovered = NULL;
132  //MessageEventsHandler
133  UnmanagedOnMessageStatusChangedUnmanaged onMessageStatusChanged = NULL;
134  UnmanagedOnMessageExtendedErrorUnmanaged onMessageExtendedError = NULL;
135  //SIPProbeEventsHandler
136  UnmanagedOnProbeErrorUnmanaged onProbeError = NULL;
137  UnmanagedOnProbeStateUnmanaged onProbeState = NULL;
138  UnmanagedOnProbeSuccessUnmanaged onProbeSuccess = NULL;
139  UnmanagedOnProbeFailedUnmanaged onProbeFailed = NULL;
140  //AccountProviderEventsHandler
141  UnmanagedOnDefaultAccountChangedUnmanaged onDefaultAccountChanged = NULL;
142  //CallsProviderEventsHandler
143  UnmanagedOnCallsProviderActiveCallChangedUnmanaged onCallsProviderActiveCallChanged = NULL;
144  UnmanagedOnCallsProviderCallAddedUnmanaged onCallsProviderCallAdded = NULL;
145  UnmanagedOnCallsProviderCallRemovedUnmanaged onCallsProviderCallRemoved = NULL;
146  //ConferenceEventsHandler
147  UnmanagedOnConferenceParticipantJoinedUnmanaged onConferenceParticipantJoined = NULL;
148  UnmanagedOnConferenceParticipantRemovedUnmanaged onConferenceParticipantRemoved = NULL;
149  UnmanagedOnConferenceExtendedErrorUnmanaged onConferenceExtendedError = NULL;
150  //ConferenceProviderEventsHandler
151  UnmanagedOnConferenceAddedUnmanaged onConferenceAdded = NULL;
152  UnmanagedOnConferenceRemovedUnmanaged onConferenceRemoved = NULL;
153  //ContextEventsHandler
154  UnmanagedOnContextSecureCertStatusUnmanaged onContextSecureCertStatus = NULL;
155  UnmanagedOnContextActivationCompletedUnmanaged onContextActivationCompleted = NULL;
156  //DNSRequestEventsHandler
157  UnmanagedOnDnsResultUnmanaged onDnsResult = NULL;
158  UnmanagedOnDnsFailedUnmanaged onDnsFailed = NULL;
159  //BanafoEventsHandler
160  UnmanagedOnServiceStateUnmanaged onServiceState = NULL;
161  UnmanagedOnRequestStateUnmanaged onRequestState = NULL;
162  UnmanagedOnEventStateUnmanaged onEventState = NULL;
163  UnmanagedOnContactListUnmanaged onContactList = NULL;
164  UnmanagedOnIntegrationListUnmanaged onIntegrationList = NULL;
165  UnmanagedOnProfileUnmanaged onProfile = NULL;
166  UnmanagedOnTranscriptionLanguageListUnmanaged onTranscriptionLanguageList = NULL;
167  //OSCallCordinatorEventsHandler
168  UnmanagedOnAcceptCallRequestUnmanaged onAcceptCallRequest = NULL;
169  UnmanagedOnRejectCallRequestUnmanaged onRejectCallRequest = NULL;
170  UnmanagedOnHoldCallRequestUnmanaged onHoldCallRequest = NULL;
171  UnmanagedOnResumeCallRequestUnmanaged onResumeCallRequest = NULL;
172  UnmanagedOnEndCallRequestUnmanaged onEndCallRequest = NULL;
173  //VideoSinkEventsHandler
174  //AudioEventsHandler
175  void OnInputLevelChange(ZDK::Shared::AudioDevice audioDevice, double level);
176  void OnOutputLevelChange(ZDK::Shared::AudioDevice audioDevice, double level);
177  void OnRingLevelChange(ZDK::Shared::AudioDevice audioDevice, double level);
178  void OnEnergyLevelChange(double inLevel, double outLevel);
179  void OnDeviceStateChange(ZDK::Shared::AudioDevice audioDevice, ZDK::AudioDeviceState deviceState);
180  void OnDeviceError(ZDK::Shared::AudioDevice audioDevice, ZDK::AudioDeviceState deviceState);
181  void OnDeviceOpenError(ZDK::Shared::ItemList<ZDK::Shared::AudioDevice> deviceList);
182  //CallEventsHandler
183  void OnCallStatusChanged(ZDK::Shared::Call call, ZDK::Shared::CallStatus status);
184  void OnCallExtendedError(ZDK::Shared::Call call, ZDK::Shared::ExtendedError error);
185  void OnCallNetworkStatistics(ZDK::Shared::Call call, ZDK::Shared::NetworkStatistics networkStatistics);
186  void OnCallNetworkQualityLevel(ZDK::Shared::Call call, int callChannel, ZDK::NetworkQualityLevel qualityLevel);
187  void OnCallSecurityLevelChanged(ZDK::Shared::Call call, ZDK::CallMediaChannel callChannel, ZDK::CallSecurityLevel qualityLevel);
188  void OnCallDTMFResult(ZDK::Shared::Call call, ZDK::Shared::Result result);
189  void OnCallDTMFReceived(ZDK::Shared::Call call, ZDK::DTMFCodes dtmf);
190  void OnCallTransferSucceeded(ZDK::Shared::Call call);
191  void OnCallTransferFailure(ZDK::Shared::Call call, ZDK::Shared::ExtendedError error);
192  void OnCallTransferStarted(ZDK::Shared::Call call, ZDK::Shared::String name, ZDK::Shared::String number, ZDK::Shared::String uri);
193  void OnCallZrtpFailed(ZDK::Shared::Call call, ZDK::Shared::ExtendedError error);
194  void OnCallZrtpSuccess(ZDK::Shared::Call call, ZDK::Shared::String zidHex, int knownPeer, int cacheMismatch, int peerKnowsUs, ZDK::ZRTPSASEncoding sasEncoding, ZDK::Shared::String sas, ZDK::ZRTPHashAlgorithm hash, ZDK::ZRTPCipherAlgorithm cipher, ZDK::ZRTPAuthTag authTag, ZDK::ZRTPKeyAgreement keyAgreement);
195  void OnCallZrtpSecondaryError(ZDK::Shared::Call call, int callChannel, ZDK::Shared::ExtendedError error);
196  void OnCallSipHeaderFields(ZDK::Shared::Call call, ZDK::Shared::ItemList<ZDK::Shared::HeaderField> headerFields);
197  void OnVideoOffered(ZDK::Shared::Call call);
198  void OnVideoStarted(ZDK::Shared::Call call, ZDK::OriginType origin);
199  void OnVideoStopped(ZDK::Shared::Call call, ZDK::OriginType origin);
200  void OnVideoCameraChanged(ZDK::Shared::Call call);
201  void OnVideoFormatSelected(ZDK::Shared::Call call, ZDK::OriginType dir, int width, int height, float fps);
202  //VideoRendererEventsHandler
203  void OnVideoFrameReceived(unsigned char* pBuffer, int length, int width, int height);
204  //AccountEventsHandler
205  void OnAccountStatusChanged(ZDK::Shared::Account account, ZDK::AccountStatus status, int statusCode);
206  void OnAccountRetryingRegistration(ZDK::Shared::Account account, int isRetrying, int inSeconds);
207  void OnAccountIncomingCall(ZDK::Shared::Account account, ZDK::Shared::Call call);
208  void OnAccountChatMessageReceived(ZDK::Shared::Account account, ZDK::Shared::String pPeer, ZDK::Shared::String pContent);
209  void OnAccountExtendedError(ZDK::Shared::Account account, ZDK::Shared::ExtendedError error);
210  void OnAccountUserSipOutboundMissing(ZDK::Shared::Account account);
211  //UNUSED
212  void OnAccountFileTransferRequested(ZDK::Shared::Account account, ZDK::Shared::FileTransfer TransferHandler, ZDK::Shared::String FromPhone, ZDK::Shared::String FromtName, ZDK::Shared::String FromURI, ZDK::Shared::String FileName, int Size, ZDK::Shared::String FileType, unsigned char* digest);
213  void OnAccountCallOwnershipChanged(ZDK::Shared::Account account, ZDK::Shared::Call call, ZDK::OwnershipChange action);
214  void OnAccountSipHeaderFields(ZDK::Shared::Account account, ZDK::Shared::ItemList<ZDK::Shared::HeaderField> headerFields);
215  void OnStunNetworkDiscovered(ZDK::Shared::Account account, ZDK::NetworkType networkType);
216  //MessageEventsHandler
217  void OnMessageStatusChanged(ZDK::Shared::Message msg, ZDK::MessageStatus status);
218  void OnMessageExtendedError(ZDK::Shared::Message msg, ZDK::Shared::ExtendedError error);
219  //SIPProbeEventsHandler
220  void OnProbeError(ZDK::Shared::Account account, ZDK::ProbeState curState, ZDK::Shared::ExtendedError error);
221  void OnProbeState(ZDK::Shared::Account account, ZDK::ProbeState newState);
222  void OnProbeSuccess(ZDK::Shared::Account account, ZDK::TransportType transport);
223  void OnProbeFailed(ZDK::Shared::Account account, ZDK::Shared::ExtendedError error);
224  //AccountProviderEventsHandler
225  void OnDefaultAccountChanged(ZDK::Shared::AccountProvider accountProvider, ZDK::Shared::Account account);
226  //CallsProviderEventsHandler
227  void OnCallsProviderActiveCallChanged(ZDK::Shared::CallsProvider callsProvider, ZDK::Shared::Call activeCall);
228  void OnCallsProviderCallAdded(ZDK::Shared::CallsProvider callsProvider, ZDK::Shared::Call call);
229  void OnCallsProviderCallRemoved(ZDK::Shared::CallsProvider callsProvider, ZDK::Shared::Call call);
230  //ConferenceEventsHandler
231  void OnConferenceParticipantJoined(ZDK::Shared::Conference conf, ZDK::Shared::Call call);
232  void OnConferenceParticipantRemoved(ZDK::Shared::Conference conf, ZDK::Shared::Call call);
233  void OnConferenceExtendedError(ZDK::Shared::Conference conf, ZDK::Shared::String message);
234  //ConferenceProviderEventsHandler
235  void OnConferenceAdded(ZDK::Shared::ConferenceProvider confProvider, ZDK::Shared::Conference conference);
236  void OnConferenceRemoved(ZDK::Shared::ConferenceProvider confProvider, ZDK::Shared::Conference conference);
237  //ContextEventsHandler
238  void OnContextSecureCertStatus(ZDK::Shared::Context context, ZDK::Shared::SecureCertData secureCert);
239  void OnContextActivationCompleted(ZDK::Shared::Context context, ZDK::Shared::ActivationResult activationResult);
240  //DNSRequestEventsHandler
241  void OnDnsResult(ZDK::Shared::DNSRequest dns, ZDK::Shared::String result);
242  void OnDnsFailed(ZDK::Shared::DNSRequest dns);
243  //BanafoEventsHandler
244  void OnServiceState(ZDK::Shared::BanafoServiceState state);
245  void OnRequestState(ZDK::ZDKHandle requestId, ZDK::Shared::BanafoRequestState state);
246  void OnEventState(ZDK::BanafoEventType event, ZDK::Shared::BanafoEventState state);
247  void OnContactList(ZDK::ZDKHandle requestId, ZDK::Shared::BanafoContactSearchCriteria searchCriteria, ZDK::Shared::BanafoRequestState state, ZDK::Shared::Pagination pagination, ZDK::Shared::ItemList<ZDK::Shared::BanafoContact> contactsList);
248  void OnIntegrationList(ZDK::ZDKHandle requestId, ZDK::Shared::BanafoRequestState state, ZDK::Shared::ItemList<ZDK::Shared::BanafoIntegration> integrationsList);
249  void OnProfile(ZDK::ZDKHandle requestId, ZDK::Shared::BanafoProfile profile);
250  void OnTranscriptionLanguageList(ZDK::ZDKHandle requestId, ZDK::Shared::BanafoRequestState state, ZDK::Shared::ItemList<ZDK::Shared::TranscriptLanguage> languageList);
251  //OSCallCordinatorEventsHandler
252  void OnAcceptCallRequest(ZDK::Shared::OSCallCoordinator coordinator, ZDK::CallMediaChannel acceptedMedia);
253  void OnRejectCallRequest(ZDK::Shared::OSCallCoordinator coordinator, ZDK::OSCallRejectionReason rejectionReason);
254  void OnHoldCallRequest(ZDK::Shared::OSCallCoordinator coordinator, ZDK::OriginType origin);
255  void OnResumeCallRequest(ZDK::Shared::OSCallCoordinator coordinator, ZDK::OriginType origin);
256  void OnEndCallRequest(ZDK::Shared::OSCallCoordinator coordinator, ZDK::OriginType origin);
257  //VideoSinkEventsHandler
258  // Inherited via IGeneralStatusNotificaitons
259  intptr_t EventHandle();
260  };
261 
262 
263 #endif
GeneralStatusEventListener
Definition: GeneralStatusEventListener.h:90