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 16b8d49ee4a0028384703edb181eea04a24e28d3..492a5618d32ed49da217918828f397b264ae67e6 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. 导入接口模块