blob: 9521c2115995eef7a4dee23083eefeb5ddd64544 [file] [log] [blame]
Alexandre Savardc1b08fe2012-09-25 16:24:47 -04001/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 2.0.8
4 *
5 * Do not make changes to this file unless you know what you are doing--modify
6 * the SWIG interface file instead.
7 * ----------------------------------------------------------------------------- */
8
9package com.savoirfairelinux.sflphone.service;
10
11public class ConfigurationManagerJNI {
12 private long swigCPtr;
13 protected boolean swigCMemOwn;
14
15 protected ConfigurationManagerJNI(long cPtr, boolean cMemoryOwn) {
16 swigCMemOwn = cMemoryOwn;
17 swigCPtr = cPtr;
18 }
19
20 protected static long getCPtr(ConfigurationManagerJNI obj) {
21 return (obj == null) ? 0 : obj.swigCPtr;
22 }
23
24 protected void finalize() {
25 delete();
26 }
27
28 public synchronized void delete() {
29 if (swigCPtr != 0) {
30 if (swigCMemOwn) {
31 swigCMemOwn = false;
32 SFLPhoneserviceJNI.delete_ConfigurationManagerJNI(swigCPtr);
33 }
34 swigCPtr = 0;
35 }
36 }
37
Alexandre Savard12dc3ac2012-09-27 11:17:39 -040038 public StringMap getIp2IpDetails() {
39 return new StringMap(SFLPhoneserviceJNI.ConfigurationManagerJNI_getIp2IpDetails(swigCPtr, this), true);
40 }
41
Alexandre Savard713a34d2012-09-26 15:50:41 -040042 public StringMap getAccountDetails(String accountID) {
43 return new StringMap(SFLPhoneserviceJNI.ConfigurationManagerJNI_getAccountDetails(swigCPtr, this, accountID), true);
44 }
45
Alexandre Savard12dc3ac2012-09-27 11:17:39 -040046 public StringMap getTlsSettingsDefault() {
47 return new StringMap(SFLPhoneserviceJNI.ConfigurationManagerJNI_getTlsSettingsDefault(swigCPtr, this), true);
48 }
49
50 public StringMap getTlsSettings() {
51 return new StringMap(SFLPhoneserviceJNI.ConfigurationManagerJNI_getTlsSettings(swigCPtr, this), true);
52 }
53
54 public void setTlsSettings(StringMap details) {
55 SFLPhoneserviceJNI.ConfigurationManagerJNI_setTlsSettings(swigCPtr, this, StringMap.getCPtr(details), details);
56 }
57
58 public void setAccountDetails(String accountID, StringMap details) {
59 SFLPhoneserviceJNI.ConfigurationManagerJNI_setAccountDetails(swigCPtr, this, accountID, StringMap.getCPtr(details), details);
60 }
61
62 public void sendRegister(String accountID, boolean enable) {
63 SFLPhoneserviceJNI.ConfigurationManagerJNI_sendRegister(swigCPtr, this, accountID, enable);
64 }
65
66 public void registerAllAccounts() {
67 SFLPhoneserviceJNI.ConfigurationManagerJNI_registerAllAccounts(swigCPtr, this);
68 }
69
70 public StringMap getAccountTemplate() {
71 return new StringMap(SFLPhoneserviceJNI.ConfigurationManagerJNI_getAccountTemplate(swigCPtr, this), true);
72 }
73
74 public String addAccount(StringMap details) {
75 return SFLPhoneserviceJNI.ConfigurationManagerJNI_addAccount(swigCPtr, this, StringMap.getCPtr(details), details);
76 }
77
78 public void removeAccount(String accoundID) {
79 SFLPhoneserviceJNI.ConfigurationManagerJNI_removeAccount(swigCPtr, this, accoundID);
80 }
81
Alexandre Savard6b85e7e2012-09-27 15:43:14 -040082 public StringVect getAccountList() {
83 return new StringVect(SFLPhoneserviceJNI.ConfigurationManagerJNI_getAccountList(swigCPtr, this), true);
Alexandre Savard12dc3ac2012-09-27 11:17:39 -040084 }
85
alisiond295ec22013-05-17 10:12:13 -040086 public IntVect getAudioCodecList() {
87 return new IntVect(SFLPhoneserviceJNI.ConfigurationManagerJNI_getAudioCodecList(swigCPtr, this), true);
Alexandre Savard12dc3ac2012-09-27 11:17:39 -040088 }
89
Alexandre Savard6b85e7e2012-09-27 15:43:14 -040090 public StringVect getSupportedTlsMethod() {
91 return new StringVect(SFLPhoneserviceJNI.ConfigurationManagerJNI_getSupportedTlsMethod(swigCPtr, this), true);
Alexandre Savard12dc3ac2012-09-27 11:17:39 -040092 }
93
alisiond295ec22013-05-17 10:12:13 -040094 public StringVect getAudioCodecDetails(int payload) {
95 return new StringVect(SFLPhoneserviceJNI.ConfigurationManagerJNI_getAudioCodecDetails(swigCPtr, this, payload), true);
Alexandre Savard12dc3ac2012-09-27 11:17:39 -040096 }
97
alisiond295ec22013-05-17 10:12:13 -040098 public IntVect getActiveAudioCodecList(String accountID) {
99 return new IntVect(SFLPhoneserviceJNI.ConfigurationManagerJNI_getActiveAudioCodecList(swigCPtr, this, accountID), true);
Alexandre Savard12dc3ac2012-09-27 11:17:39 -0400100 }
101
Alexandre Savard6b85e7e2012-09-27 15:43:14 -0400102 public void setActiveAudioCodecList(StringVect list, String accountID) {
103 SFLPhoneserviceJNI.ConfigurationManagerJNI_setActiveAudioCodecList(swigCPtr, this, StringVect.getCPtr(list), list, accountID);
Alexandre Savard12dc3ac2012-09-27 11:17:39 -0400104 }
105
Alexandre Savard6b85e7e2012-09-27 15:43:14 -0400106 public StringVect getAudioPluginList() {
107 return new StringVect(SFLPhoneserviceJNI.ConfigurationManagerJNI_getAudioPluginList(swigCPtr, this), true);
Alexandre Savard12dc3ac2012-09-27 11:17:39 -0400108 }
109
Alexandre Savardc1b08fe2012-09-25 16:24:47 -0400110 public void setAudioPlugin(String audioPlugin) {
111 SFLPhoneserviceJNI.ConfigurationManagerJNI_setAudioPlugin(swigCPtr, this, audioPlugin);
112 }
113
Alexandre Savard6b85e7e2012-09-27 15:43:14 -0400114 public StringVect getAudioOutputDeviceList() {
115 return new StringVect(SFLPhoneserviceJNI.ConfigurationManagerJNI_getAudioOutputDeviceList(swigCPtr, this), true);
Alexandre Savard12dc3ac2012-09-27 11:17:39 -0400116 }
117
Alexandre Savard6b85e7e2012-09-27 15:43:14 -0400118 public StringVect getAudioInputDeviceList() {
119 return new StringVect(SFLPhoneserviceJNI.ConfigurationManagerJNI_getAudioInputDeviceList(swigCPtr, this), true);
Alexandre Savard12dc3ac2012-09-27 11:17:39 -0400120 }
121
alisiond295ec22013-05-17 10:12:13 -0400122 public void setAudioOutputDevice(int index) {
123 SFLPhoneserviceJNI.ConfigurationManagerJNI_setAudioOutputDevice(swigCPtr, this, index);
Alexandre Savard12dc3ac2012-09-27 11:17:39 -0400124 }
125
alisiond295ec22013-05-17 10:12:13 -0400126 public void setAudioInputDevice(int index) {
127 SFLPhoneserviceJNI.ConfigurationManagerJNI_setAudioInputDevice(swigCPtr, this, index);
Alexandre Savard12dc3ac2012-09-27 11:17:39 -0400128 }
129
alisiond295ec22013-05-17 10:12:13 -0400130 public void setAudioRingtoneDevice(int index) {
131 SFLPhoneserviceJNI.ConfigurationManagerJNI_setAudioRingtoneDevice(swigCPtr, this, index);
Alexandre Savard12dc3ac2012-09-27 11:17:39 -0400132 }
133
Alexandre Savard6b85e7e2012-09-27 15:43:14 -0400134 public StringVect getCurrentAudioDevicesIndex() {
135 return new StringVect(SFLPhoneserviceJNI.ConfigurationManagerJNI_getCurrentAudioDevicesIndex(swigCPtr, this), true);
Alexandre Savard12dc3ac2012-09-27 11:17:39 -0400136 }
137
alisiond295ec22013-05-17 10:12:13 -0400138 public int getAudioDeviceIndex(String name) {
139 return SFLPhoneserviceJNI.ConfigurationManagerJNI_getAudioDeviceIndex(swigCPtr, this, name);
Alexandre Savard12dc3ac2012-09-27 11:17:39 -0400140 }
141
142 public String getCurrentAudioOutputPlugin() {
143 return SFLPhoneserviceJNI.ConfigurationManagerJNI_getCurrentAudioOutputPlugin(swigCPtr, this);
144 }
145
146 public String getNoiseSuppressState() {
147 return SFLPhoneserviceJNI.ConfigurationManagerJNI_getNoiseSuppressState(swigCPtr, this);
148 }
149
150 public void setNoiseSuppressState(String state) {
151 SFLPhoneserviceJNI.ConfigurationManagerJNI_setNoiseSuppressState(swigCPtr, this, state);
152 }
153
154 public String getEchoCancelState() {
155 return SFLPhoneserviceJNI.ConfigurationManagerJNI_getEchoCancelState(swigCPtr, this);
156 }
157
158 public StringMap getRingtoneList() {
159 return new StringMap(SFLPhoneserviceJNI.ConfigurationManagerJNI_getRingtoneList(swigCPtr, this), true);
160 }
161
162 public void setEchoCancelState(String state) {
163 SFLPhoneserviceJNI.ConfigurationManagerJNI_setEchoCancelState(swigCPtr, this, state);
164 }
165
166 public int getEchoCancelTailLength() {
167 return SFLPhoneserviceJNI.ConfigurationManagerJNI_getEchoCancelTailLength(swigCPtr, this);
168 }
169
alisiond295ec22013-05-17 10:12:13 -0400170 public void setEchoCancelTailLength(int length) {
171 SFLPhoneserviceJNI.ConfigurationManagerJNI_setEchoCancelTailLength(swigCPtr, this, length);
Alexandre Savard12dc3ac2012-09-27 11:17:39 -0400172 }
173
174 public int getEchoCancelDelay() {
175 return SFLPhoneserviceJNI.ConfigurationManagerJNI_getEchoCancelDelay(swigCPtr, this);
176 }
177
alisiond295ec22013-05-17 10:12:13 -0400178 public void setEchoCancelDelay(int delay) {
179 SFLPhoneserviceJNI.ConfigurationManagerJNI_setEchoCancelDelay(swigCPtr, this, delay);
Alexandre Savard12dc3ac2012-09-27 11:17:39 -0400180 }
181
alisiond295ec22013-05-17 10:12:13 -0400182 public int isIax2Enabled() {
183 return SFLPhoneserviceJNI.ConfigurationManagerJNI_isIax2Enabled(swigCPtr, this);
Alexandre Savard12dc3ac2012-09-27 11:17:39 -0400184 }
185
186 public String getRecordPath() {
187 return SFLPhoneserviceJNI.ConfigurationManagerJNI_getRecordPath(swigCPtr, this);
188 }
189
190 public void setRecordPath(String recPath) {
191 SFLPhoneserviceJNI.ConfigurationManagerJNI_setRecordPath(swigCPtr, this, recPath);
192 }
193
194 public boolean getIsAlwaysRecording() {
195 return SFLPhoneserviceJNI.ConfigurationManagerJNI_getIsAlwaysRecording(swigCPtr, this);
196 }
197
198 public void setIsAlwaysRecording(boolean rec) {
199 SFLPhoneserviceJNI.ConfigurationManagerJNI_setIsAlwaysRecording(swigCPtr, this, rec);
200 }
201
alision04a00182013-05-10 17:05:29 -0400202 public void setRecordingCall(String id) {
203 SFLPhoneserviceJNI.ConfigurationManagerJNI_setRecordingCall(swigCPtr, this, id);
204 }
205
alisiond295ec22013-05-17 10:12:13 -0400206 public int getHistoryLimit() {
207 return SFLPhoneserviceJNI.ConfigurationManagerJNI_getHistoryLimit(swigCPtr, this);
Alexandre Savard12dc3ac2012-09-27 11:17:39 -0400208 }
209
210 public void clearHistory() {
211 SFLPhoneserviceJNI.ConfigurationManagerJNI_clearHistory(swigCPtr, this);
212 }
213
alisiond295ec22013-05-17 10:12:13 -0400214 public void setHistoryLimit(int days) {
215 SFLPhoneserviceJNI.ConfigurationManagerJNI_setHistoryLimit(swigCPtr, this, days);
Alexandre Savard12dc3ac2012-09-27 11:17:39 -0400216 }
217
218 public void setAudioManager(String api) {
219 SFLPhoneserviceJNI.ConfigurationManagerJNI_setAudioManager(swigCPtr, this, api);
220 }
221
222 public String getAudioManager() {
223 return SFLPhoneserviceJNI.ConfigurationManagerJNI_getAudioManager(swigCPtr, this);
224 }
225
Alexandre Savard12dc3ac2012-09-27 11:17:39 -0400226 public StringMap getHookSettings() {
227 return new StringMap(SFLPhoneserviceJNI.ConfigurationManagerJNI_getHookSettings(swigCPtr, this), true);
228 }
229
230 public void setHookSettings(StringMap settings) {
231 SFLPhoneserviceJNI.ConfigurationManagerJNI_setHookSettings(swigCPtr, this, StringMap.getCPtr(settings), settings);
232 }
233
234 public void setAccountsOrder(String order) {
235 SFLPhoneserviceJNI.ConfigurationManagerJNI_setAccountsOrder(swigCPtr, this, order);
236 }
237
alisione2a38e12013-04-25 14:20:20 -0400238 public VectMap getHistory() {
239 return new VectMap(SFLPhoneserviceJNI.ConfigurationManagerJNI_getHistory(swigCPtr, this), true);
240 }
241
Alexandre Savard12dc3ac2012-09-27 11:17:39 -0400242 public String getAddrFromInterfaceName(String arg0) {
243 return SFLPhoneserviceJNI.ConfigurationManagerJNI_getAddrFromInterfaceName(swigCPtr, this, arg0);
244 }
245
Alexandre Savard6b85e7e2012-09-27 15:43:14 -0400246 public StringVect getAllIpInterface() {
247 return new StringVect(SFLPhoneserviceJNI.ConfigurationManagerJNI_getAllIpInterface(swigCPtr, this), true);
Alexandre Savard12dc3ac2012-09-27 11:17:39 -0400248 }
249
Alexandre Savard6b85e7e2012-09-27 15:43:14 -0400250 public StringVect getAllIpInterfaceByName() {
251 return new StringVect(SFLPhoneserviceJNI.ConfigurationManagerJNI_getAllIpInterfaceByName(swigCPtr, this), true);
Alexandre Savard12dc3ac2012-09-27 11:17:39 -0400252 }
253
254 public StringMap getShortcuts() {
255 return new StringMap(SFLPhoneserviceJNI.ConfigurationManagerJNI_getShortcuts(swigCPtr, this), true);
256 }
257
258 public void setShortcuts(StringMap shortcutsMap) {
259 SFLPhoneserviceJNI.ConfigurationManagerJNI_setShortcuts(swigCPtr, this, StringMap.getCPtr(shortcutsMap), shortcutsMap);
260 }
261
alisione2a38e12013-04-25 14:20:20 -0400262 public VectMap getCredentials(String accountID) {
263 return new VectMap(SFLPhoneserviceJNI.ConfigurationManagerJNI_getCredentials(swigCPtr, this, accountID), true);
Alexandre Savard12dc3ac2012-09-27 11:17:39 -0400264 }
265
alisione2a38e12013-04-25 14:20:20 -0400266 public void setCredentials(String accountID, VectMap details) {
267 SFLPhoneserviceJNI.ConfigurationManagerJNI_setCredentials(swigCPtr, this, accountID, VectMap.getCPtr(details), details);
Alexandre Savard12dc3ac2012-09-27 11:17:39 -0400268 }
269
Alexandre Savardc1b08fe2012-09-25 16:24:47 -0400270 public ConfigurationManagerJNI() {
271 this(SFLPhoneserviceJNI.new_ConfigurationManagerJNI(), true);
272 }
273
274}