提交 24d940f9 编写于 作者: W wangzx0705

modify the log level in doc

Signed-off-by: Nwangzx0705 <wangzx0705@thundersoft.com>
上级 eb764bc3
......@@ -3087,7 +3087,7 @@ adjustVolumeByStep(adjustType: VolumeAdjustType): Promise&lt;void&gt;
audioVolumeGroupManager.adjustVolumeByStep(audio.VolumeAdjustType.VOLUME_UP).then((value) => {
console.info('Success to adjust the volume by step.');
}).catch((error) => {
console.info('Fail to adjust the volume by step.');
console.error('Fail to adjust the volume by step.');
});
```
......@@ -3175,7 +3175,7 @@ adjustSystemVolumeByStep(volumeType: AudioVolumeType, adjustType: VolumeAdjustTy
audioVolumeGroupManager.adjustSystemVolumeByStep(audio.AudioVolumeType.MEDIA, audio.VolumeAdjustType.VOLUME_UP).then((value) => {
console.info('Success to adjust the system volume by step.');
}).catch((error) => {
console.info('Fail to adjust the system volume by step.');
console.error('Fail to adjust the system volume by step.');
});
```
......@@ -3257,7 +3257,7 @@ getSystemVolumeInDb(volumeType: AudioVolumeType, volumeLevel: number, device: De
audioVolumeGroupManager.getSystemVolumeInDb(audio.AudioVolumeType.MEDIA, 3, audio.DeviceType.SPEAKER).then((value) => {
console.info(`Success to get the volume DB. ${value}`);
}).catch((error) => {
console.info(`Fail to adjust the system volume by step. ${error}`);
console.error(`Fail to adjust the system volume by step. ${error}`);
});
```
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册