提交 44794323 编写于 作者: L Lei Gao

[WebView] Supports mute the web page.

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