ue-softphone-sdk 4.0.32 → 4.0.34
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.
|
@@ -286,5 +286,15 @@ export default class ueSoftphone {
|
|
|
286
286
|
isConnected(): any;
|
|
287
287
|
sendDTMF(tone: string): void;
|
|
288
288
|
};
|
|
289
|
+
/**
|
|
290
|
+
* 销毁SDK实例,断开所有连接并清理资源
|
|
291
|
+
* @param callbacks - 回调函数对象
|
|
292
|
+
* @param callbacks.success - 成功回调
|
|
293
|
+
* @param callbacks.fail - 失败回调
|
|
294
|
+
*/
|
|
295
|
+
destroy(callbacks?: {
|
|
296
|
+
success?: Function;
|
|
297
|
+
fail?: Function;
|
|
298
|
+
}): void;
|
|
289
299
|
}
|
|
290
300
|
export {};
|