未验证 提交 2c1b462f 编写于 作者: O openharmony_ci 提交者: Gitee

!15798 [WebView] Update setAudioMuted docs

Merge pull request !15798 from Lei Gao/master
...@@ -3572,7 +3572,7 @@ struct Index { ...@@ -3572,7 +3572,7 @@ struct Index {
} }
``` ```
### setAudioMuted ### setAudioMuted<sup>10+</sup>
setAudioMuted(mute: boolean): void setAudioMuted(mute: boolean): void
...@@ -3586,6 +3586,14 @@ setAudioMuted(mute: boolean): void ...@@ -3586,6 +3586,14 @@ setAudioMuted(mute: boolean): void
| -------- | ------- | ---- | -------------------------------------- | | -------- | ------- | ---- | -------------------------------------- |
| mute | boolean | 是 | 表示是否将网页设置为静音状态,true表示设置为静音状态,false表示取消静音状态。 | | mute | boolean | 是 | 表示是否将网页设置为静音状态,true表示设置为静音状态,false表示取消静音状态。 |
**错误码:**
以下错误码的详细介绍请参见[webview错误码](../errorcodes/errorcode-webview.md)
| 错误码ID | 错误信息 |
| -------- | ------------------------------------------------------------ |
| 17100001 | Init error. The WebviewController must be associated with a Web component. |
**示例:** **示例:**
```ts ```ts
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册