未验证 提交 596322b3 编写于 作者: Z zengyawen 提交者: Gitee

修改sample格式

Signed-off-by: Nzengyawen <zengyawen1@huawei.com>
上级 12b54e83
......@@ -170,11 +170,9 @@ if (this.subscriber != null) {
}
```
## 开发实例
## 相关实例
针对公共事件开发,有以下示例工程可供参考:
针对公共事件开发,有以下相关实例可供参考:
- [CommonEvent](https://gitee.com/openharmony/app_samples/tree/master/ability/CommonEvent)
本示例展示了在eTS中如何使用CommonEvent的接口完成创建订阅者、订阅公共事件、发布公共事件、取消订阅的功能。
- [`CommonEvent`:订阅公共事件(eTS)(API7)](https://gitee.com/openharmony/app_samples/tree/master/ability/CommonEvent)
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册