setAudioMute (v1.0)
Estimated reading time: 1 minute
- 这个API提供了改变音频静音状态的功能。
语法
- http://<Base URL>/audio
认证级别
- generic
需求
- params' Elements
- An object composed of the following pair(s).
name | type | multiplicity | default | description |
---|---|---|---|---|
status | boolean | 1 | 要设置静音状态。
|
- JSON Example
-
{ "method": "setAudioMute", "id": 601, "params": [{"status": true}], "version": "1.0" }
反馈
- result's Elements
- The following value.
type | description |
---|---|
integer | Only 0 is returned. |
- JSON Example
-
{ "result": [0], "id": 601 }
- Error Code
- No additional error codes are defined. Refer to error code for common errors.
Last modified: 13 Feb 2019