zdk.objc
ZDKAccountConfig.h
1//
2// ZDKAccountConfig.h
3// ZDK
4//
5
6#ifndef ZDKAccountConfig_h
7#define ZDKAccountConfig_h
8
9#import <Foundation/Foundation.h>
10#import "ZDKProtocolType.h"
11#import "ZDKSIPConfig.h"
12#import "ZDKIAXConfig.h"
13#import "ZDKDTMFType.h"
14#import "ZDKAudioOutputDeviceType.h"
15#import "ZDKAccountConfig.h"
16#import "ZDKZHandle.h"
17#import "ZDKSIPConfig.h"
18@protocol ZDKSIPConfig;
19#import "ZDKIAXConfig.h"
20@protocol ZDKIAXConfig;
21#import "ZDKAccountConfig.h"
22@protocol ZDKAccountConfig;
23
24NS_ASSUME_NONNULL_BEGIN
25
29
36@property(nonatomic) NSString* userName;
37
44@property(nonatomic) NSString* _Nullable password;
45
52@property(nonatomic) ZDKProtocolType type;
53
62@property(nonatomic) int reregistrationTime;
63
73@property(nonatomic) id<ZDKSIPConfig> _Nullable sip;
74
84@property(nonatomic) id<ZDKIAXConfig> _Nullable iax;
85
92@property(nonatomic) NSString* _Nullable deviceGUID;
93
100@property(nonatomic) NSString* _Nullable registrationGUID;
101
106@property(nonatomic) BOOL enableIPv6Detection;
107
114@property(nonatomic) ZDKDTMFType dtmfBand;
115
126@property(nonatomic) ZDKAudioOutputDeviceType dtmfAutoplayDevice;
127
136-(BOOL)isEqual:(id<ZDKAccountConfig>)comp ;
137-(NSString*)handlesDescription;
138
139@end
140
141NS_ASSUME_NONNULL_END
142
143#endif
General account configuration.
Definition: ZDKAccountConfig.h:28
ZDKAudioOutputDeviceType dtmfAutoplayDevice
Automatically play DTMF sounds to the user.
Definition: ZDKAccountConfig.h:126
ZDKDTMFType dtmfBand
Selects the DTMF band for the user.
Definition: ZDKAccountConfig.h:114
NSString *_Nullable password
Sets the Account's password (SIP, IAX, XMPP, etc, depending on the Account type)
Definition: ZDKAccountConfig.h:44
NSString * userName
Sets the Account's username (SIP, IAX, XMPP, etc, depending on the Account type)
Definition: ZDKAccountConfig.h:36
int reregistrationTime
Set the Account's registration refresh time.
Definition: ZDKAccountConfig.h:62
NSString *_Nullable registrationGUID
Sets per account Registration GUID.
Definition: ZDKAccountConfig.h:100
id< ZDKIAXConfig > _Nullable iax
Sets the IAX specific account configuration.
Definition: ZDKAccountConfig.h:84
BOOL enableIPv6Detection
NOT USED! MIGHT BE REMOVED ANYTIME!
Definition: ZDKAccountConfig.h:106
NSString *_Nullable deviceGUID
Sets per account Device GUID.
Definition: ZDKAccountConfig.h:92
id< ZDKSIPConfig > _Nullable sip
Sets the SIP specific account configuration.
Definition: ZDKAccountConfig.h:73
ZDKProtocolType type
Sets the Account's type (SIP, IAX, XMPP, etc.)
Definition: ZDKAccountConfig.h:52
IAX specific account configuration.
Definition: ZDKIAXConfig.h:19
SIP specific account configuration.
Definition: ZDKSIPConfig.h:37
Definition: ZDKZHandle.h:13