ue-softphone-sdk 4.0.31 → 4.0.33

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.
@@ -183,6 +183,7 @@ export default class ueSoftphone {
183
183
  static MonitorSocketinstance: any;
184
184
  static UserConfig: any;
185
185
  static isCanRing: any;
186
+ static argeementType: String;
186
187
  static noop(): void;
187
188
  static debug: (msg: any) => void;
188
189
  static log: (msg: any) => void;
@@ -285,5 +286,15 @@ export default class ueSoftphone {
285
286
  isConnected(): any;
286
287
  sendDTMF(tone: string): void;
287
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;
288
299
  }
289
300
  export {};