@netless/slide 0.5.16-y.0 → 0.6.0
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/lib/Slide.d.ts +9 -0
- package/lib/Slide.js +2 -2
- package/package.json +2 -2
package/lib/Slide.d.ts
CHANGED
|
@@ -15,6 +15,10 @@ export interface RtcAudio {
|
|
|
15
15
|
* 当音频对象不再使用时候被调用
|
|
16
16
|
*/
|
|
17
17
|
destroy(): void;
|
|
18
|
+
/**
|
|
19
|
+
* 设置音量, 参数值范围 0 ~ 1
|
|
20
|
+
*/
|
|
21
|
+
volume(value: number): void;
|
|
18
22
|
/**
|
|
19
23
|
* 获取音频当前播放时间, 单位为:秒
|
|
20
24
|
*/
|
|
@@ -530,6 +534,11 @@ export declare class Slide extends Slide_base {
|
|
|
530
534
|
* 返回 ppt 是否存在上一步动作
|
|
531
535
|
*/
|
|
532
536
|
hasPrevStep(): boolean;
|
|
537
|
+
/**
|
|
538
|
+
* 设置全局音量, 非同步操作, 只会修改本地音量,不会触发同步事件
|
|
539
|
+
* @param v
|
|
540
|
+
*/
|
|
541
|
+
updateGlobalVolume(v: number): void;
|
|
533
542
|
/**
|
|
534
543
|
* 销毁历史所有本地缓存
|
|
535
544
|
*/
|