From ee5549dea917066c98d73fe38e37f0d21ba6ad3f Mon Sep 17 00:00:00 2001 From: jiao_yanlin Date: Fri, 28 Oct 2022 14:23:09 +0800 Subject: [PATCH] API exception handling interface data submission Signed-off-by: jiao_yanlin --- zh-cn/application-dev/reference/apis/js-apis-audio.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zh-cn/application-dev/reference/apis/js-apis-audio.md b/zh-cn/application-dev/reference/apis/js-apis-audio.md index 3fa68e681a..2f92ba78e3 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-audio.md +++ b/zh-cn/application-dev/reference/apis/js-apis-audio.md @@ -28,7 +28,7 @@ import audio from '@ohos.multimedia.audio'; | --------------------------------------- | ----------| ---- | ---- | ------------------ | | LOCAL_NETWORK_ID9+ | string | 是 | 否 | 本地设备网络id。
**系统能力:** SystemCapability.Multimedia.Audio.Device | | DEFAULT_VOLUME_GROUP_ID9+ | number | 是 | 否 | 默认音量组id。
**系统能力:** SystemCapability.Multimedia.Audio.Volume | -| DEFAULT_INTERRUPT_GROUP_ID9+ | number | 是 | 否 | 默认音频中断id。
**系统能力:** SystemCapability.Multimedia.Audio.Interrupt | +| DEFAULT_INTERRUPT_GROUP_ID9+ | number | 是 | 否 | 默认音频中断组id。
**系统能力:** SystemCapability.Multimedia.Audio.Interrupt | **示例:** @@ -331,7 +331,7 @@ async function createTonePlayer(){ "streamUsage": audio.StreamUsage.STREAM_USAGE_MEDIA, "rendererFlags": 0 } - let tonePlayer = await audio.createTonePlayer(this.audioRendererInfo); + let tonePlayer = await audio.createTonePlayer(audioRendererInfo); } ``` -- GitLab