getApplicationStatusList (v1.0)

Estimated reading time: 1 minute

这个API提供应用程序本身的状态或伴随的状态与特定应用程序相关的。

语法

http://<Base URL>/appControl

认证级别

需求

参数个数' 元素
没有必要的。
JSON Example
{
    "method": "getApplicationStatusList",
    "id": 55,
    "params": [],
    "version": "1.0"
}

响应

result的元素
由以下对组成的对象数组。
名称 type multiplicity default description
名称 字符串 1 申请名称。 定义了以下值。
  • "textInput" - software keyboard
  • "cursorDisplay" - application using a cursor
  • "webBrowse" - web browser
状态 字符串 1 应用程序的状态。定义了以下值。
  • “关”-应用程序处于非活动状态
  • “开”-应用程序处于活动状态
JSON Example
{
    "result": [[
        {
            "name": "textInput",
            "status": "off"
        },
        {
            "name": "cursorDisplay",
            "status": "off"
        },
        {
            "name": "webBrowse",
            "status": "off"
        }
    ]],
    "id": 55
}
错误代码
没有定义额外的错误代码。请参阅 错误代码 常见的错误。
Last modified: 13 Feb 2019