From 7e629a0cf118c1e52dfddb9ddec6f7b625825168 Mon Sep 17 00:00:00 2001 From: xinking129 Date: Sat, 6 May 2023 07:05:30 +0000 Subject: [PATCH] update zh-cn/application-dev/application-models/hop-multi-device-collaboration.md. fix Signed-off-by: xinking129 --- .../application-models/hop-multi-device-collaboration.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/zh-cn/application-dev/application-models/hop-multi-device-collaboration.md b/zh-cn/application-dev/application-models/hop-multi-device-collaboration.md index 16b8d49ee4..492a5618d3 100644 --- a/zh-cn/application-dev/application-models/hop-multi-device-collaboration.md +++ b/zh-cn/application-dev/application-models/hop-multi-device-collaboration.md @@ -501,14 +501,13 @@ | 接口名 | 描述 | | -------- | -------- | -| stopServiceExtensionAbility(want: Want): Promise<void>; | 停止退出启动的ServiceExtensionAbility,Promise形式接口。 | -| stopServiceExtensionAbility(want: Want, callback: AsyncCallback<void>): void; | 停止退出启动的ServiceExtensionAbility,callback形式接口。 | +| stopServiceExtensionAbility(want: Want): Promise<void>; | 退出启动的ServiceExtensionAbility,Promise形式接口。 | +| stopServiceExtensionAbility(want: Want, callback: AsyncCallback<void>): void; | 退出启动的ServiceExtensionAbility,callback形式接口。 | ### 开发步骤 -1. 退出由跨设备远程启动的ServiceExtension应用。 - 使用stopServiceExtensionAbility接口退出由startAbility接口或connectServiceExtensionAbility接口拉起的跨设备ServiceExtension应用。 +1. 使用stopServiceExtensionAbility接口退出由startAbility接口或connectServiceExtensionAbility接口拉起的跨设备ServiceExtension应用。 1. 导入接口模块 -- GitLab