未验证 提交 a96ec487 编写于 作者: O openharmony_ci 提交者: Gitee

!9548 3.1Release分支:settings一致性问题修改,需同步翻译

Merge pull request !9548 from 葛亚芳/cherry-pick-1663297202
......@@ -303,6 +303,8 @@ setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object, call
将数据项名称及数据项的值保存到数据库中。使用callback异步回调。
**系统接口**:此接口为系统接口。
**系统能力**:SystemCapability.Applications.settings.Core
**参数**
......@@ -333,6 +335,8 @@ setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object): Pro
将数据项名称及数据项的值保存到数据库中。使用Promise异步回调。
**系统接口**:此接口为系统接口。
**系统能力**:SystemCapability.Applications.settings.Core
**参数**
......@@ -392,7 +396,7 @@ enableAirplaneMode(enable: boolean, callback: AsyncCallback\<void>): void
## settings.enableAirplaneMode
enableAirplaneMode(enable: boolean): Promise<void>
enableAirplaneMode(enable: boolean): Promise\<void>
启用或禁用飞行模式。使用Promise异步回调。
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册