ue-softphone-sdk 4.0.16 → 4.0.18

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.
package/README.md CHANGED
@@ -7,4 +7,5 @@
7
7
  -->
8
8
  极简互联电话条sdk
9
9
  > 4.0.12 针对safari 浏览器获取麦克风权限的适配
10
- > 4.0.13 网络检测请求地址修改;增加音量检测事件
10
+ > 4.0.13 网络检测请求地址修改;增加音量检测事件
11
+ > 4.0.18 增加muteRing方法,关闭铃声
@@ -152,6 +152,7 @@ export default class ueSoftphone {
152
152
  static AudioTask: any;
153
153
  static MonitorSocketinstance: any;
154
154
  static UserConfig: any;
155
+ static isCanRing: any;
155
156
  static noop(): void;
156
157
  static debug: (msg: any) => void;
157
158
  static log: (msg: any) => void;
@@ -183,9 +184,12 @@ export default class ueSoftphone {
183
184
  private getMicrophoneVolume;
184
185
  private initAudioDetection;
185
186
  private startVolumeDetection;
187
+ clearVolumeDetection: () => void;
186
188
  stopVolumeDetection: () => void;
187
189
  listenCallVolume: (callbacks: OnCallVolumeParams) => void;
188
190
  stopListenVolume: (callbacks: OnCallVolumeParams) => void;
191
+ private turnOffRingCallbacks;
192
+ muteRing: (callbacks: OnCallVolumeParams) => void;
189
193
  private initAgentQueue;
190
194
  private initQueue;
191
195
  static createQueueMonitorEventHandle(callbacks?: any): void;