diff --git a/zh-cn/application-dev/ability/stage-call.md b/zh-cn/application-dev/ability/stage-call.md index 577bc4c7d84dcc2b238bccb7aea4a4af536781b7..572fd96d37cd9b225dc4b506ea55cb131e00f618 100644 --- a/zh-cn/application-dev/ability/stage-call.md +++ b/zh-cn/application-dev/ability/stage-call.md @@ -134,7 +134,7 @@ context.startAbilityByCall({ console.error(TAG + 'get caller failed with ' + error) }) ``` -在跨设备场景下,需指定对端设备deviceId。应用开发者 根据实际需要做相应处理。具体示例代码如下: +在跨设备场景下,需指定对端设备deviceId。具体示例代码如下: ```ts let TAG = '[MainAbility] ' var caller = undefined @@ -158,7 +158,7 @@ context.startAbilityByCall({ console.error(TAG + 'get remote caller failed with ' + error) }) ``` -从DeviceManager获取指定设备的deviceId,具体示例代码如下: +从DeviceManager获取指定设备的deviceId,getTrustedDeviceListSync接口仅对系统应用开放。具体示例代码如下: ```ts import deviceManager from '@ohos.distributedHardware.deviceManager'; var dmClass;