From f8c747cc01e96ebaeeb560f66c855ab0c1b2eca8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=A3=B4=E6=97=AD?= <871951905@qq.com> Date: Mon, 23 Jun 2025 17:01:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=94=99=E8=AF=AF=E6=B3=A8?= =?UTF-8?q?=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frameworks/js/napi/include/subscribe.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frameworks/js/napi/include/subscribe.h b/frameworks/js/napi/include/subscribe.h index 0934a80a7..4aed5787f 100644 --- a/frameworks/js/napi/include/subscribe.h +++ b/frameworks/js/napi/include/subscribe.h @@ -43,7 +43,7 @@ public: const std::shared_ptr &sortingMap, int32_t deleteReason) override; /** - * @brief Called back when a notification is canceled. + * @brief Called back when a notification is consumed. * * @param request Indicates the received NotificationRequest object. * @param sortingMap Indicates the sorting map used by the current subscriber to obtain notification ranking @@ -53,14 +53,14 @@ public: const std::shared_ptr &sortingMap) override; /** - * @brief Called back when a notification is canceled. + * @brief Called back when a notification is updated. * * @param sortingMap Indicates the sorting map used to obtain notification ranking information. */ virtual void OnUpdate(const std::shared_ptr &sortingMap) override; /** - * @brief Called back when a notification is canceled. + * @brief Called back when a notification is connected. * */ virtual void OnConnected() override; -- Gitee