gis-common 3.1.5 → 3.1.6

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.
@@ -0,0 +1,20 @@
1
+ /**
2
+ * @description 声音播放类
3
+ * @export
4
+ * @class AudioPlayer
5
+ */
6
+ export default class AudioPlayer {
7
+ /**
8
+ * Creates an instance of AudioPlayer.
9
+ * @param {*} url
10
+ */
11
+ private audio;
12
+ constructor(url: string);
13
+ play(): void;
14
+ pause(): void;
15
+ get muted(): boolean;
16
+ /**
17
+ * @description 设置静音状态,如果静音,autoplay属性将失效
18
+ */
19
+ set muted(val: boolean);
20
+ }