ZDK
IIAXConfig.h
1 #ifndef __IIAXCONFIG__
2 #define __IIAXCONFIG__
3 
4 #include "IZHandle.h"
5 
6 #include "Types/SharedPointerTypes.h"
7 
8 #include "Types/DTMFTypeIAX.h"
9 
10 namespace ZDK
11 {
12 
13 //# @abi(all) documentation
16 class IIAXConfig : public virtual ZDK::IZHandle
17 {
18 public:
19  //# @abi(all) documentation
24  //# @abi(jni|obj_c) property
25  virtual ZDK::Shared::String Host() const = 0;
26 
27  //# @abi(all) documentation
32  //# @abi(jni|obj_c) property
33  virtual void Host(ZDK::Shared::String value) = 0;
34 
35  //# @abi(all) documentation
40  //# @abi(jni|obj_c) property
41  virtual ZDK::Shared::String Context() const = 0;
42 
43  //# @abi(all) documentation
48  //# @abi(jni|obj_c) property
49  virtual void Context(ZDK::Shared::String value) = 0;
50 
51  //# @abi(all) documentation
56  //# @abi(jni|obj_c) property
57  //# @abi(jni|obj_c) @param(return) nullable
58  virtual ZDK::Shared::String CallerID() const = 0;
59 
60  //# @abi(all) documentation
65  //# @abi(jni|obj_c) property
66  //# @abi(jni|obj_c) @param(value) nullable
67  virtual void CallerID(ZDK::Shared::String value) = 0;
68 
69  //# @abi(all) documentation
74  //# @abi(jni|obj_c) property
75  //# @abi(jni|obj_c) @param(return) nullable
76  virtual ZDK::Shared::String CallerNumber() const = 0;
77 
78  //# @abi(all) documentation
83  //# @abi(jni|obj_c) property
84  //# @abi(jni|obj_c) @param(value) nullable
85  virtual void CallerNumber(ZDK::Shared::String value) = 0;
86 
87  //# @abi(all) documentation
94  //# @abi(jni|obj_c) property
95  virtual ZDK::DTMFTypeIAX DTMF() const = 0;
96 
97  //# @abi(all) documentation
104  //# @abi(jni|obj_c) property
105  virtual void DTMF(ZDK::DTMFTypeIAX value) = 0;
106 
107  //# @abi(all) documentation
116  virtual bool IsEqual(ZDK::Shared::IAXConfig comp) const = 0;
117 };
118 
119 } //namespace ZDK
120 
121 #endif //__IIAXCONFIG__
Definition: IZHandle.h:12
IAX specific account configuration.
Definition: IIAXConfig.h:16
virtual ZDK::Shared::String CallerNumber() const =0
Gets the caller number used for identification.
virtual ZDK::Shared::String Host() const =0
Gets the server/host address in use.
virtual ZDK::Shared::String CallerID() const =0
Gets the caller ID used for identification.
Definition: IAccountConfig.h:10
virtual ZDK::DTMFTypeIAX DTMF() const =0
Gets the selected DTMF band for the user.
virtual bool IsEqual(ZDK::Shared::IAXConfig comp) const =0
Compares the current configuration with the given one.
virtual ZDK::Shared::String Context() const =0
Gets the context in use.