getSpeakerSettings (v1.0)
Estimated reading time: 1 minute
- 这个API提供与扬声器配置项相关的当前设置和受支持的设置。
语法
- http://<Base URL>/audio
认证级别
- none
需求
- params' Elements
- An object composed of the following pair(s).
name | type | multiplicity | default | description |
---|---|---|---|---|
target | string | ? | "" |
目标名称。默认值是“”。这表示所有目标的设置。
客户端可以通过设置空字符串来获取所有speaker设置信息
“目标”。客户端可以通过显式的方式获得特定的speaker设置值
将目标名称设置为“目标”。
|
- JSON Example
-
{ "method": "getSpeakerSettings", "id": 67, "params": [{"target": "tvPosition"}], "version": "1.0" }
反馈
- result's Elements
- 由以下对组成的对象数组。
name | type | multiplicity | default | description |
---|---|---|---|---|
target | string | 1 | 目标名称
|
|
currentValue | string | 1 | 目标的当前值。
|
- JSON Example
-
{ "result": [[{ "currentValue": "tableTop", "target": "tvPosition" }]], "id": 67 }
- 错误代码
- 没有定义额外的错误代码。请参阅 错误代码 常见错误。
Last modified: 13 Feb 2019