Skip to content

跳转到通知权限页面

方法名

toForegroundPage

用法

  • 用法如下:
    js
    module.toForegroundPage(res => {
      this.writeLog(JSON.stringify(res))
    });
  • 参数说明 无

回调

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