zdk.objc
ZDKContext.h
1//
2// ZDKContext.h
3// ZDK
4//
5
6#ifndef ZDKContext_h
7#define ZDKContext_h
8
9#import <Foundation/Foundation.h>
10#import "ZDKCallsProvider.h"
11#import "ZDKAccountProvider.h"
12#import "ZDKConferenceProvider.h"
13#import "ZDKDNSRequestProvider.h"
14#import "ZDKContextConfiguration.h"
15#import "ZDKEncryptionConfiguration.h"
16#import "ZDKAudioEndpointControl.h"
17#import "ZDKVideoEndpointControl.h"
18#import "ZDKRingBackToneControl.h"
19#import "ZDKActivation.h"
20#import "ZDKLog.h"
21#import "ZDKProxyManager.h"
22#import "ZDKBanafoManager.h"
23#import "ZDKProtocolType.h"
24#import "ZDKContextEventsHandler.h"
25#import "ZDKResult.h"
26#import "ZDKZHandle.h"
27#import "ZDKCallsProvider.h"
28@protocol ZDKCallsProvider;
29#import "ZDKAccountProvider.h"
30@protocol ZDKAccountProvider;
31#import "ZDKConferenceProvider.h"
32@protocol ZDKConferenceProvider;
33#import "ZDKDNSRequestProvider.h"
34@protocol ZDKDNSRequestProvider;
35#import "ZDKContextConfiguration.h"
37#import "ZDKEncryptionConfiguration.h"
39#import "ZDKAudioEndpointControl.h"
41#import "ZDKVideoEndpointControl.h"
43#import "ZDKRingBackToneControl.h"
45#import "ZDKActivation.h"
46@protocol ZDKActivation;
47#import "ZDKLog.h"
48@protocol ZDKLog;
49#import "ZDKProxyManager.h"
50@protocol ZDKProxyManager;
51#import "ZDKBanafoManager.h"
52@protocol ZDKBanafoManager;
53#import "ZDKContextEventsHandler.h"
55#import "ZDKResult.h"
56@protocol ZDKResult;
57
58NS_ASSUME_NONNULL_BEGIN
59
63
68@property(nonatomic, readonly) BOOL contextRunning;
69
76@property(nonatomic, readonly) id<ZDKCallsProvider> callsProvider;
77
86@property(nonatomic, readonly) id<ZDKAccountProvider> accountProvider;
87
94@property(nonatomic, readonly) id<ZDKConferenceProvider> conferenceProvider;
95
102@property(nonatomic, readonly) id<ZDKDNSRequestProvider> dnsRequestProvider;
103
113@property(nonatomic, readonly) id<ZDKContextConfiguration> configuration;
114
121@property(nonatomic, readonly) id<ZDKEncryptionConfiguration> encryptionConfiguration;
122
131@property(nonatomic, readonly) id<ZDKAudioEndpointControl> audioControls;
132
141@property(nonatomic, readonly) id<ZDKVideoEndpointControl> videoControls;
142
151@property(nonatomic, readonly) id<ZDKRingBackToneControl> ringback;
152
159@property(nonatomic, readonly) id<ZDKActivation> activation;
160
169@property(nonatomic, readonly) id<ZDKLog> logger;
170
177@property(nonatomic, readonly) id<ZDKProxyManager> proxyManager;
178
185@property(nonatomic, readonly) id<ZDKBanafoManager> banafoManager;
186
193@property(nonatomic, readonly) NSString* libraryVersion;
194
239-(id<ZDKResult>)addProto:(ZDKProtocolType)proto col:(int)port ;
240/*
241*/
242-(id<ZDKResult>)testSIPURI:(NSString*)sipUri ;
251-(void)setStatusListener:(id<ZDKContextEventsHandler>)value ;
270-(void)forceNativeCrash:(unsigned int)delayMs ;
271-(NSString*)handlesDescription;
272
273@end
274
275NS_ASSUME_NONNULL_END
276
277#endif
Account information and control provider.
Definition: ZDKAccountProvider.h:49
Handles the Activation process of the ZDK.
Definition: ZDKActivation.h:21
Audio endpoint's main entry point.
Definition: ZDKAudioEndpointControl.h:38
Banafo Service Manager.
Definition: ZDKBanafoManager.h:41
Active calls information provider.
Definition: ZDKCallsProvider.h:23
Conference controlling helper.
Definition: ZDKConferenceProvider.h:28
ZDK's main entry point.
Definition: ZDKContext.h:62
id< ZDKAccountProvider > accountProvider
Gets the account information and control provider.
Definition: ZDKContext.h:86
id< ZDKProxyManager > proxyManager
Gets the ZDK's proxy manager.
Definition: ZDKContext.h:177
id< ZDKCallsProvider > callsProvider
Gets the active calls information provider.
Definition: ZDKContext.h:76
id< ZDKResult > networkChanged()
Notify the ZDK for changed network event.
id< ZDKLog > logger
Gets the ZDK's debug logging facility instance.
Definition: ZDKContext.h:169
id< ZDKContextConfiguration > configuration
Gets the general ZDK/Context configuration.
Definition: ZDKContext.h:113
id< ZDKVideoEndpointControl > videoControls
Gets the video endpoint's main entry point.
Definition: ZDKContext.h:141
id< ZDKResult > startContext()
Initialize the ZDK.
id< ZDKBanafoManager > banafoManager
Gets the ZDK's Banafo manager.
Definition: ZDKContext.h:185
id< ZDKResult > stopContext()
Destroys the ZDK.
id< ZDKEncryptionConfiguration > encryptionConfiguration
Gets the encription specific configuration.
Definition: ZDKContext.h:121
id< ZDKDNSRequestProvider > dnsRequestProvider
Gets the DNS resolving requests provider.
Definition: ZDKContext.h:102
BOOL contextRunning
Returnes whether the context is running and functional.
Definition: ZDKContext.h:68
NSString * libraryVersion
Get the ZDK version.
Definition: ZDKContext.h:193
id< ZDKActivation > activation
Gets the ZDK's Activation process handler.
Definition: ZDKContext.h:159
id< ZDKAudioEndpointControl > audioControls
Gets the audio endpoint's main entry point.
Definition: ZDKContext.h:131
id< ZDKRingBackToneControl > ringback
Ringback tone's main entry point.
Definition: ZDKContext.h:151
id< ZDKConferenceProvider > conferenceProvider
Gets the conference controlling helper.
Definition: ZDKContext.h:94
General ZDK/Context configuration.
Definition: ZDKContextConfiguration.h:20
Definition: ZDKContextEventsHandler.h:23
DNS resolving requests provider.
Definition: ZDKDNSRequestProvider.h:22
Encription specific configuration.
Definition: ZDKEncryptionConfiguration.h:23
Debug logging facility.
Definition: ZDKLog.h:21
Proxy Manager.
Definition: ZDKProxyManager.h:24
API invocation status result.
Definition: ZDKResult.h:19
Ringback tone's main entry point.
Definition: ZDKRingBackToneControl.h:24
Video endpoint's main entry point.
Definition: ZDKVideoEndpointControl.h:22
Definition: ZDKZHandle.h:13