ue-softphone-sdk-beta 4.0.45 → 4.0.49
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -188,6 +188,7 @@ export default class ueSoftphone {
|
|
|
188
188
|
static MonitorSocketinstance: any;
|
|
189
189
|
static UserConfig: any;
|
|
190
190
|
static isCanRing: any;
|
|
191
|
+
static argeementType: String;
|
|
191
192
|
static noop(): void;
|
|
192
193
|
static debug: (msg: any) => void;
|
|
193
194
|
static log: (msg: any) => void;
|
|
@@ -291,5 +292,15 @@ export default class ueSoftphone {
|
|
|
291
292
|
isConnected(): any;
|
|
292
293
|
sendDTMF(tone: string): void;
|
|
293
294
|
};
|
|
295
|
+
/**
|
|
296
|
+
* 销毁SDK实例,断开所有连接并清理资源
|
|
297
|
+
* @param callbacks - 回调函数对象
|
|
298
|
+
* @param callbacks.success - 成功回调
|
|
299
|
+
* @param callbacks.fail - 失败回调
|
|
300
|
+
*/
|
|
301
|
+
destroy(callbacks?: {
|
|
302
|
+
success?: Function;
|
|
303
|
+
fail?: Function;
|
|
304
|
+
}): void;
|
|
294
305
|
}
|
|
295
306
|
export {};
|