Skip to content

无障碍服务是否开启

方法名

isOpenService

用法

  • 用法如下:
    js
    module.isOpenService(res => {
      this.writeLog("无障碍服务是否开启:" + JSON.stringify(res))
    });
  • 参数说明

回调

  • 示例
    json
    {
      "data": {
        "status": true
      },
      "message": "",
      "code": 0
    }
  • 回调说明:
    参数名参数类型参数描述
    messageString消息提示
    dataObject数据对象
    data.statusboolean是否开启
    codeInteger返回类型,0.成功,其他:失败