“f456cd807983ce09b066abaeea49e0c658771cdf”上不存在“paddle/fluid/git@gitcode.net:s920243400/PaddleDetection.git”
未验证 提交 e05d8cd1 编写于 作者: O openharmony_ci 提交者: Gitee

!15140 接口描述修改

Merge pull request !15140 from wangxiyue/release_apis_data_preferences
...@@ -363,7 +363,7 @@ context.getFilesDir().then((filePath) => { ...@@ -363,7 +363,7 @@ context.getFilesDir().then((filePath) => {
getSync(key: string, defValue: ValueType): ValueType getSync(key: string, defValue: ValueType): ValueType
获取键对应的值,如果值为null或者非默认值类型,返回默认数据。 获取键对应的值,如果值为null或者非默认值类型,返回默认数据defValue
**系统能力:** SystemCapability.DistributedDataManager.Preferences.Core **系统能力:** SystemCapability.DistributedDataManager.Preferences.Core
...@@ -392,7 +392,7 @@ console.info("The value of startup is " + value); ...@@ -392,7 +392,7 @@ console.info("The value of startup is " + value);
get(key: string, defValue: ValueType, callback: AsyncCallback<ValueType>): void get(key: string, defValue: ValueType, callback: AsyncCallback<ValueType>): void
获取键对应的值,如果值为null或者非默认值类型,返回默认数据。使用callback方式返回结果,此方法为异步方法。 获取键对应的值,如果值为null或者非默认值类型,返回默认数据defValue。使用callback方式返回结果,此方法为异步方法。
**系统能力:** SystemCapability.DistributedDataManager.Preferences.Core **系统能力:** SystemCapability.DistributedDataManager.Preferences.Core
...@@ -421,7 +421,7 @@ storage.get('startup', 'default', function(err, value) { ...@@ -421,7 +421,7 @@ storage.get('startup', 'default', function(err, value) {
get(key: string, defValue: ValueType): Promise<ValueType> get(key: string, defValue: ValueType): Promise<ValueType>
获取键对应的值,如果值为null或者非默认值类型,返默认数据。使用Promise方式返回结果,此方法为异步方法。 获取键对应的值,如果值为null或者非默认值类型,返回默认数据defValue。使用Promise方式返回结果,此方法为异步方法。
**系统能力:** SystemCapability.DistributedDataManager.Preferences.Core **系统能力:** SystemCapability.DistributedDataManager.Preferences.Core
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册