diff --git a/zh-cn/application-dev/reference/apis/js-apis-application-DataShareExtensionAbility.md b/zh-cn/application-dev/reference/apis/js-apis-application-DataShareExtensionAbility.md index cfbcbb9b3ac4773907da74a3c2e5e038b232314b..3bde79fc8fa0b84a32c924801c909cdceb4d0bf6 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-application-DataShareExtensionAbility.md +++ b/zh-cn/application-dev/reference/apis/js-apis-application-DataShareExtensionAbility.md @@ -17,6 +17,20 @@ import DataShareExtensionAbility from '@ohos.application.DataShareExtensionAbility' ``` +## 权限 + +无 + +## 属性 + +**系统能力**:SystemCapability.DistributedDataManager.DataShare.Provider + +**系统API**: 此接口为系统接口,三方应用不支持调用。 + +| 名称 | 参数类型 | 可读 | 可写 | 说明 | +| -------- | -------- | -------- | -------- | -------- | +| context | [ExtensionContext](js-apis-extension-context.md) | 是 | 否 |表示数据共享扩展能力上下文。 | + ## onCreate onCreate?(want: Want, callback: AsyncCallback<void>): void @@ -284,7 +298,7 @@ export default class DataShareExtAbility extends DataShareExtensionAbility { }; ``` -## BatchInsert +## batchInsert BatchInsert?(uri: string, valueBuckets: Array<ValuesBucket>, callback: AsyncCallback<number>): void