From c6e194276c7255984320caed6f9a958b1321bfb2 Mon Sep 17 00:00:00 2001 From: li-bo-boblove Date: Fri, 14 Jul 2023 13:45:53 +0800 Subject: [PATCH] update msdp dos Signed-off-by:li-bo-boblove Signed-off-by: li-bo-boblove --- en/application-dev/reference/apis/js-apis-stationary.md | 2 +- zh-cn/application-dev/reference/apis/js-apis-stationary.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/en/application-dev/reference/apis/js-apis-stationary.md b/en/application-dev/reference/apis/js-apis-stationary.md index cb2f0f4432..97b3a2f7cf 100644 --- a/en/application-dev/reference/apis/js-apis-stationary.md +++ b/en/application-dev/reference/apis/js-apis-stationary.md @@ -123,7 +123,7 @@ Unsubscribes from the device status. | -------------------- | -------------------------------------------------- | ---- | ---------------------------- | | activity | [ActivityType](#activitytype) | Yes | Device status type. | | event | [ActivityEvent](#activityevent) | Yes | Event type. | -| callback | Callback<[ActivityResponse](#activityresponse)\> | No | Callback used to receive reported data. If this parameter is not passed, all callbacks associated with the specified event in the process will be unregistered. | +| callback | Callback:\<[ActivityResponse](#activityresponse)> | No | Callback used to receive reported data. | **Example** diff --git a/zh-cn/application-dev/reference/apis/js-apis-stationary.md b/zh-cn/application-dev/reference/apis/js-apis-stationary.md index 14c971750b..5fc52b5c24 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-stationary.md +++ b/zh-cn/application-dev/reference/apis/js-apis-stationary.md @@ -123,7 +123,7 @@ off(activity: ActivityType, event: ActivityEvent, callback?: Callback<Activit | -------------------- | -------------------------------------------------- | ---- | ---------------------------- | | activity | [ActivityType](#activitytype) | 是 | 设备状态能力类型。 | | event | [ActivityEvent](#activityevent) | 是 | 事件类型。 | -| callback | Callback<[ActivityResponse](#activityresponse)\> | 否 | 回调函数,接收上报状态变化事件,如果没有传递callback参数,会移除该进程下订阅该类型得所有callback。 | +| callback | Callback:\<[ActivityResponse](#activityresponse)> | 否 | 回调函数,接收上报状态变化事件。 | **示例:** -- GitLab