ZDK
IAccountConfig.h
1 #ifndef __IACCOUNTCONFIG__
2 #define __IACCOUNTCONFIG__
3 
4 #include "IZHandle.h"
5 
6 #include "Types/SharedPointerTypes.h"
7 
8 #include "Types/ProtocolType.h"
9 
10 namespace ZDK
11 {
12 
13 //# @abi(all) documentation
16 class IAccountConfig : public virtual ZDK::IZHandle
17 {
18 public:
19  //# @abi(all) documentation
26  //# @abi(jni|obj_c) property
27  virtual ZDK::Shared::String UserName() const = 0;
28 
29  //# @abi(all) documentation
36  //# @abi(jni|obj_c) property
37  virtual void UserName(ZDK::Shared::String value) = 0;
38 
39  //# @abi(all) documentation
46  //# @abi(jni|obj_c) property
47  //# @abi(jni|obj_c) @param(return) nullable
48  virtual ZDK::Shared::String Password() const = 0;
49 
50  //# @abi(all) documentation
57  //# @abi(jni|obj_c) property
58  //# @abi(jni|obj_c) @param(value) nullable
59  virtual void Password(ZDK::Shared::String value) = 0;
60 
61  //# @abi(all) documentation
68  //# @abi(jni|obj_c) property
69  virtual ZDK::ProtocolType Type() const = 0;
70 
71  //# @abi(all) documentation
78  //# @abi(jni|obj_c) property
79  virtual void Type(ZDK::ProtocolType value) = 0;
80 
81  //# @abi(all) documentation
90  //# @abi(jni|obj_c) property
91  virtual int ReregistrationTime() const = 0;
92 
93  //# @abi(all) documentation
102  //# @abi(jni|obj_c) property
103  virtual void ReregistrationTime(int value) = 0;
104 
105  //# @abi(all) documentation
115  //# @abi(jni|obj_c) property
116  //# @abi(jni|obj_c) @param(return) nullable
117  virtual ZDK::Shared::SIPConfig SIP() = 0;
118 
119  //# @abi(all) documentation
129  //# @abi(jni|obj_c) property
130  //# @abi(jni|obj_c) @param(value) nullable
131  virtual void SIP(ZDK::Shared::SIPConfig value) = 0;
132 
133  //# @abi(all) documentation
143  //# @abi(jni|obj_c) property
144  //# @abi(jni|obj_c) @param(return) nullable
145  virtual ZDK::Shared::IAXConfig IAX() = 0;
146 
147  //# @abi(all) documentation
157  //# @abi(jni|obj_c) property
158  //# @abi(jni|obj_c) @param(value) nullable
159  virtual void IAX(ZDK::Shared::IAXConfig value) = 0;
160 
161  //# @abi(all) documentation
164  //# @abi(jni|obj_c) property
165  //# @abi(jni|obj_c) @param(return) nullable
166  virtual ZDK::Shared::String DeviceGUID() const = 0;
167 
168  //# @abi(all) documentation
171  //# @abi(jni|obj_c) property
172  //# @abi(jni|obj_c) @param(value) nullable
173  virtual void DeviceGUID(ZDK::Shared::String value) = 0;
174 
175  //# @abi(all) documentation
178  //# @abi(jni|obj_c) property
179  //# @abi(jni|obj_c) @param(return) nullable
180  virtual ZDK::Shared::String RegistrationGUID() const = 0;
181 
182  //# @abi(all) documentation
185  //# @abi(jni|obj_c) property
186  //# @abi(jni|obj_c) @param(value) nullable
187  virtual void RegistrationGUID(ZDK::Shared::String value) = 0;
188 
189  //# @abi(all) documentation
194  //# @abi(jni|obj_c) property
195  virtual bool EnableIPv6Detection() const = 0;
196 
197  //# @abi(all) documentation
202  //# @abi(jni|obj_c) property
203  virtual void EnableIPv6Detection(bool value) = 0;
204 
205  //# @abi(all) documentation
214  virtual bool IsEqual(ZDK::Shared::AccountConfig comp) = 0;
215 };
216 
217 } //namespace ZDK
218 
219 #endif //__IACCOUNTCONFIG__
virtual ZDK::Shared::String DeviceGUID() const =0
NOT USED! MIGHT BE REMOVED ANYTIME!
virtual ZDK::Shared::String RegistrationGUID() const =0
NOT USED! MIGHT BE REMOVED ANYTIME!
Definition: IZHandle.h:12
virtual ZDK::ProtocolType Type() const =0
Gets the Account's type (SIP, IAX, XMPP, etc.)
virtual int ReregistrationTime() const =0
Get the Account's registration refresh time.
virtual ZDK::Shared::String Password() const =0
Gets the Account's password (SIP, IAX, XMPP, etc, depending on the Account Type)
virtual ZDK::Shared::SIPConfig SIP()=0
Gets the SIP specific account configuration.
virtual ZDK::Shared::IAXConfig IAX()=0
Gets the IAX specific account configuration.
virtual ZDK::Shared::String UserName() const =0
Gets the Account's username (SIP, IAX, XMPP, etc, depending on the Account Type)
Definition: IAccountConfig.h:10
virtual bool IsEqual(ZDK::Shared::AccountConfig comp)=0
Compares the current configuration with the given one.
General account configuration.
Definition: IAccountConfig.h:16
virtual bool EnableIPv6Detection() const =0
NOT USED! MIGHT BE REMOVED ANYTIME!