diff --git a/api/@ohos.data.distributedData.d.ts b/api/@ohos.data.distributedData.d.ts index cce2ade79d554b98b9373a6007b895622bc5b6b2..69ae0b0358b545d7790d9fc33224e2777eb5c422 100644 --- a/api/@ohos.data.distributedData.d.ts +++ b/api/@ohos.data.distributedData.d.ts @@ -17,6 +17,7 @@ import { AsyncCallback, Callback } from './basic'; import ValuesBucket from './@ohos.data.DatashareValuesBucket'; import Predicates from './@ohos.data.DatasharePredicates'; import DataShareResultSet from './@ohos.data.DataShareResultSet'; +import Context from './application/Context'; /** * Providers interfaces to creat a {@link KVManager} istances. @@ -49,6 +50,16 @@ declare namespace distributedData { * @import N/A */ bundleName: string; + + /** + * Indicates the ability or hap context + * @since 9 + * @syscap SystemCapability.DistributedDataManager.KVStore.Core + * @import N/A + * @Note: if swap the area, you should close all the KV store and use the new Context to create the KVManager + * @StageModelOnly + */ + context: Context; } /**