提交 9b7e4304 编写于 作者: E ester.zhou

update doc

Signed-off-by: Nester.zhou <ester.zhou@huawei.com>
上级 684747db
...@@ -97,8 +97,8 @@ To use this method, you must have the **ohos.permission.WRITE_SYSTEM_SETTING** p ...@@ -97,8 +97,8 @@ To use this method, you must have the **ohos.permission.WRITE_SYSTEM_SETTING** p
``` ```
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 setValue method will // Update the value of 'settings.screen.brightness'. (As this data item exists in the database, the setValue method
update the value of the data item.) will update the value of the data item.)
let brightness = 'settings.screen.brightness'; let brightness = 'settings.screen.brightness';
let uri = settings.getUri(brightness); let uri = settings.getUri(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.
先完成此消息的编辑!
想要评论请 注册