6 #ifndef ZDK_NET_Context_h
7 #define ZDK_NET_Context_h
9 #include "native_shared_ptr.h"
10 #include "PublicInterfaces.h"
11 #include "CallsProvider.h"
12 #include "AccountProvider.h"
13 #include "ConferenceProvider.h"
14 #include "DNSRequestProvider.h"
15 #include "ContextConfiguration.h"
16 #include "EncryptionConfiguration.h"
17 #include "AudioEndpointControl.h"
18 #include "VideoEndpointControl.h"
19 #include "RingBackToneControl.h"
20 #include "Activation.h"
22 #include "ProxyManager.h"
23 #include "BanafoManager.h"
24 #include "ProtocolType.h"
25 #include "ContextEventsHandler.h"
29 using namespace System::Collections::Generic;
33 ref class CallsProvider;
34 ref class AccountProvider;
35 ref class ConferenceProvider;
36 ref class DNSRequestProvider;
37 ref class ContextConfiguration;
38 ref class EncryptionConfiguration;
39 ref class AudioEndpointControl;
40 ref class VideoEndpointControl;
41 ref class RingBackToneControl;
44 ref class ProxyManager;
45 ref class BanafoManager;
46 ref class ContextEventsHandler;
57 static bool RegisterEventListeners()
59 std::shared_ptr<GeneralStatusEventListener> ContextEventsHandler_Listener_tmp = std::make_shared<GeneralStatusEventListener>();
60 ContextEventsHandler_Listener = ContextEventsHandler_Listener_tmp.get();
61 listenersMap->try_emplace(
reinterpret_cast<intptr_t
>(ContextEventsHandler_Listener), std::move(ContextEventsHandler_Listener_tmp));
65 static bool RegisteredEventListeners = RegisterEventListeners();
67 ZDK::IContext* cppRef =
nullptr;
69 Context(ZDK::Shared::Context src);
78 property bool ContextRunning
245 property System::String^ LibraryVersion
247 System::String^ get();
333 virtual long long Handle()
override;
335 virtual void Initialize()
override;
337 virtual void ReleaseReference()
override;
DNS resolving requests provider.
Definition: DNSRequestProvider.h:26
API invocation status result.
Definition: Result.h:24
ZDK's main entry point.
Definition: Context.h:52
Ringback tone's main entry point.
Definition: RingBackToneControl.h:27
ZDK_NET::Result ^ StartContext()
Initialize the ZDK.
Video endpoint's main entry point.
Definition: VideoEndpointControl.h:26
void SetStatusListener(ZDK_NET::ContextEventsHandler^ value)
Configures the context event listener.
Encription specific configuration.
Definition: EncryptionConfiguration.h:26
Definition: GeneralStatusEventListener.h:90
Debug logging facility.
Definition: Log.h:25
Audio endpoint's main entry point.
Definition: AudioEndpointControl.h:39
Handles the Activation process of the ZDK.
Definition: Activation.h:25
ZDK_NET::Result ^ StopContext()
Destroys the ZDK.
Banafo Service Manager.
Definition: BanafoManager.h:40
void ForceNativeCrash(unsigned int delayMs)
Force native crash.
General ZDK/Context configuration.
Definition: ContextConfiguration.h:25
Proxy Manager.
Definition: ProxyManager.h:27
Active calls information provider.
Definition: CallsProvider.h:26
Conference controlling helper.
Definition: ConferenceProvider.h:29
ZDK_NET::Result ^ NetworkChanged()
Notify the ZDK for changed network event.
Account information and control provider.
Definition: AccountProvider.h:45
ZDK_NET::Result ^ AddProtocol(ZDK_NET::ProtocolType proto, int port)
Creates a call manager instance for a protocol.
Definition: ContextEventsHandler.h:49