diff --git a/zh-cn/application-dev/notification/common-event.md b/zh-cn/application-dev/notification/common-event.md index 222dcb4565f86eedb09431dd053e1cbafb2f6890..6f6f07b3daae459e545684e09f4234d4f954ad09 100644 --- a/zh-cn/application-dev/notification/common-event.md +++ b/zh-cn/application-dev/notification/common-event.md @@ -170,11 +170,10 @@ if (this.subscriber != null) { } ``` -## 开发实例 +## 相关实例 -针对公共事件开发,有以下示例工程可供参考: +针对公共事件开发,有以下相关实例可供参考: -- [CommonEvent](https://gitee.com/openharmony/app_samples/tree/master/ability/CommonEvent) +- [`CommonEvent`:订阅公共事件(eTS)(API7)](https://gitee.com/openharmony/app_samples/tree/master/ability/CommonEvent) -本示例展示了在eTS中如何使用CommonEvent的接口完成创建订阅者、订阅公共事件、发布公共事件、取消订阅的功能。