提交 ead3d596 编写于 作者: E esterzhou

update doc

Signed-off-by: Nesterzhou <ester.zhou@huawei.com>
上级 04743dc8
...@@ -99,8 +99,8 @@ If the specified data item exists in the database, the **setValueSync** method u ...@@ -99,8 +99,8 @@ If the specified data item exists in the database, the **setValueSync** method u
``` ```
import featureAbility from '@ohos.featureAbility'; import featureAbility from '@ohos.featureAbility';
// Update the value of 'settings.screen.brightness'. (As this data item exists in the database, the setValueSync method // Update the value of 'settings.screen.brightness'. (As this data item exists in the database, the setValueSync
will update the value of the data item.) method will update the value of the data item.)
let brightness = 'settings.screen.brightness'; let brightness = 'settings.screen.brightness';
let uri = settings.getUriSync(brightness); let uri = settings.getUriSync(brightness);
let helper = featureAbility.acquireDataAbilityHelper(uri); let helper = featureAbility.acquireDataAbilityHelper(uri);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册