已关闭
删除distributedData模块中冗余的deviceId获取说明 #26471
zhanglele33创建于  8月24日关闭于  8月27日
zhanglele33
zhanglele33成员
8月24日 创建

问题描述

在 @ohos.data.distributedData.d.ts 的多个接口中,存在大量重复的 NOTE/说明块,描述如何通过 deviceManager.getTrustedDeviceListSync 获取 deviceId。这些说明在多个接口中重复出现,造成文档冗余。

涉及接口

以下接口的 NOTE/说明块被删除:

  • SingleKVStore.getEntries (callback/promise)
  • SingleKVStore.getResultSet (callback/promise)
  • SingleKVStore.getResultSize (callback/promise)
  • SingleKVStore.removeDeviceData (callback/promise)
  • DeviceKVStore.sync
  • Query.deviceId
  • DeviceKVStore.get (callback/promise)
  • DeviceKVStore.getEntries (callback/promise)
  • DeviceKVStore.getResultSet (callback/promise)
  • DeviceKVStore.getResultSize (callback/promise)
  • DeviceKVStore.removeDeviceData (callback/promise)
  • DeviceKVStore.sync

修改方案

删除英文和中文 API 声明文件中上述接口的重复 NOTE/说明块,保留接口参数说明中的 deviceId/deviceIds 描述,不影响接口功能。

影响范围

仅影响 API 文档声明,不影响接口功能。

likedislike
openharmony_ci
openharmony_ci成员
8月24日 评论:

感谢提交Issue!关于Issue的交互操作,请访问OpenHarmony社区支持命令清单。如果有问题,请联系 [@xiadengping20241118](https://gitcode.com/xiadengping20241118) 。如果需要调整订阅PR、Issue的变更状态,请访问链接。


Thanks for submitting the issue. For more commands, please visit OpenHarmony Command List. If you have any questions, please refer to committer gitcode for help. If you need to change the subscription of a Pull Request or Issue, please visit the link.

likedislike
openharmony_ciopenharmony_ci成员
8月24日 添加了label:waiting_for_assign
zhanglele33zhanglele33成员
8月24日 关联了pull request:docs: 删除distributedData模块中冗余的deviceId获取说明
openharmony_ciopenharmony_ci成员
8月27日 关闭了 issue
openharmony_ciopenharmony_ci成员
8月27日 issue状态由 待办的 改变为 已完成