diff --git a/frameworks/js/napi/include/subscribe.h b/frameworks/js/napi/include/subscribe.h index 0934a80a7596550d2881001553b689248550c0d1..4aed5787faeca443bc383da4cb5fe3b9d6dd25c4 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;