未验证 提交 2a36e334 编写于 作者: O openharmony_ci 提交者: Gitee

!1746 修改hisysevent订阅和查询开发文档中的错误内容

Merge pull request !1746 from honghecun/master
......@@ -77,7 +77,7 @@ HiSysEvent提供了跨进程订阅机制,开发者可以通过注册订阅接
void OnServiceDied();
};
#endif DEMO_LISTENER_H
#endif // DEMO_LISTENER_H
```
增加DemoListener.cpp文件,在DemoListener类中根据实际需求自定义订阅回调接口的实现逻辑:
......
......@@ -55,7 +55,7 @@ C++接口实例。
- 实现对应的查询回调接口:
void HiSysEventQueryCallBack::OnQuery\(const ::std::vector<std::string\>& sysEvent, const ::std::vector<int64\_t\>& seq\)
void HiSysEventQueryCallBack::OnQuery\(const ::std::vector&lt;std::string&gt;& sysEvent, const ::std::vector<int64\_t\>& seq\)
void HiSysEventQueryCallBack::OnComplete\(int32\_t reason, int32\_t total\)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册