ZDK
IContext.h
1 #ifndef __IContext__
2 #define __IContext__
3 
4 #include "Types/ProtocolType.h"
5 #include "Types/SharedPointerTypes.h"
6 #include "IZHandle.h"
7 
8 namespace ZDK
9 {
10 
11 //# @abi(all) documentation
14 class IContext : public virtual ZDK::IZHandle
15 {
16 public:
17  //# @abi(all) documentation
37  //# @abi(all) ignore
38  virtual ZDK::Shared::Result InitDNS(void* jvm, void* connectivityManager) = 0;
39 
40  //# @abi(all) documentation
54  virtual ZDK::Shared::Result StartContext() = 0;
55 
56  //# @abi(all) documentation
69  virtual ZDK::Shared::Result StopContext() = 0;
70 
71  //# @abi(all) documentation
89  virtual ZDK::Shared::Result AddProtocol(ZDK::ProtocolType proto, int port) = 0;
90 
91  //# @abi(all) documentation
96  //# @abi(obj_c|jni) property
97  virtual bool ContextRunning() const = 0;
98 
99  //# @abi(all) documentation
115  virtual ZDK::Shared::Result TestSIPURI(ZDK::Shared::String sipURI) = 0;
116 
117  //# @abi(all) documentation
126  //# @abi(obj_c|jni) @param(value) delegate|register
127  virtual void SetStatusListener(ZDK::Shared::ContextEventsHandler value) = 0;
128 
129  //# @abi(all) documentation
141  virtual ZDK::Shared::Result NetworkChanged() = 0;
142 
143  //# @abi(all) documentation
150  //# @abi(obj_c|jni) property
151  virtual ZDK::Shared::CallsProvider CallsProvider() = 0;
152 
153  //# @abi(all) documentation
162  //# @abi(obj_c|jni) property
163  virtual ZDK::Shared::AccountProvider AccountProvider() = 0;
164 
165  //# @abi(all) documentation
172  //# @abi(obj_c|jni) property
173  virtual ZDK::Shared::ConferenceProvider ConferenceProvider() = 0;
174 
175  //# @abi(all) documentation
182  //# @abi(obj_c|jni) property
183  virtual ZDK::Shared::DNSRequestProvider DNSRequestProvider() = 0;
184 
185  //# @abi(all) documentation
195  //# @abi(obj_c|jni) property
196  virtual ZDK::Shared::ContextConfiguration Configuration() = 0;
197 
198  //# @abi(all) documentation
205  //# @abi(obj_c|jni) property
206  virtual ZDK::Shared::EncryptionConfiguration EncryptionConfiguration() = 0;
207 
208 
209  //# @abi(all) documentation
218  //# @abi(obj_c|jni) property
219  virtual ZDK::Shared::AudioEndpointControl AudioControls() = 0;
220 
221  //# @abi(all) documentation
230  //# @abi(obj_c|jni) property
231  virtual ZDK::Shared::VideoEndpointControl VideoControls() = 0;
232 
233  //# @abi(all) documentation
242  //# @abi(obj_c|jni) property
243  virtual ZDK::Shared::RingBackToneControl Ringback() = 0;
244 
245  //# @abi(all) documentation
252  //# @abi(obj_c|jni) property
253  virtual ZDK::Shared::Activation Activation() = 0;
254 
255  //# @abi(all) documentation
264  //# @abi(jni|obj_c) property
265  virtual ZDK::Shared::Log Logger() = 0;
266 
267  //# @abi(all) documentation
274  //# @abi(obj_c|jni) property
275  virtual ZDK::Shared::String LibraryVersion() = 0;
276 };
277 
278 } //namespace ZDK
279 
280 #endif //__IContext__
virtual ZDK::Shared::RingBackToneControl Ringback()=0
Ringback tone's main entry point.
virtual bool ContextRunning() const =0
Returnes whether the context is running and functional.
virtual ZDK::Shared::EncryptionConfiguration EncryptionConfiguration()=0
Gets the encription specific configuration.
virtual ZDK::Shared::Result NetworkChanged()=0
Notify the ZDK for changed network event.
virtual ZDK::Shared::Result StopContext()=0
Destroys the ZDK.
virtual ZDK::Shared::Activation Activation()=0
Gets the ZDK's Activation process handler.
Definition: IZHandle.h:12
virtual ZDK::Shared::Result TestSIPURI(ZDK::Shared::String sipURI)=0
Checks if a string is a SIP AoR or SIP Uri.
virtual ZDK::Shared::VideoEndpointControl VideoControls()=0
Gets the video endpoint's main entry point.
virtual ZDK::Shared::DNSRequestProvider DNSRequestProvider()=0
Gets the DNS resolving requests provider.
virtual ZDK::Shared::ContextConfiguration Configuration()=0
Gets the general ZDK/Context configuration.
virtual ZDK::Shared::String LibraryVersion()=0
Get the ZDK version.
ZDK's main entry point.
Definition: IContext.h:14
virtual ZDK::Shared::AccountProvider AccountProvider()=0
Gets the account information and control provider.
virtual ZDK::Shared::Result StartContext()=0
Initialize the ZDK.
virtual ZDK::Shared::ConferenceProvider ConferenceProvider()=0
Gets the conference controlling helper.
Definition: IAccountConfig.h:10
virtual ZDK::Shared::AudioEndpointControl AudioControls()=0
Gets the audio endpoint's main entry point.
virtual ZDK::Shared::CallsProvider CallsProvider()=0
Gets the active calls information provider.
virtual ZDK::Shared::Log Logger()=0
Gets the ZDK's debug logging facility instance.
virtual ZDK::Shared::Result AddProtocol(ZDK::ProtocolType proto, int port)=0
Creates a call manager instance for a protocol.
virtual ZDK::Shared::Result InitDNS(void *jvm, void *connectivityManager)=0
Initialize DNS when used on Android.
virtual void SetStatusListener(ZDK::Shared::ContextEventsHandler value)=0
Configures the context event listener.