提交 539b8edd 编写于 作者: S shawn_he

update docs

Signed-off-by: Nshawn_he <shawn.he@huawei.com>
上级 3808892c
# Brightness
> ![icon-note.gif](public_sys-resources/icon-note.gif) **NOTE**
> ![icon-note.gif](public_sys-resources/icon-note.gif) **NOTE**<br/>
> The initial APIs of this module are supported since API version 7. Newly added APIs will be marked with a superscript to indicate their earliest API version.
The Brightness module provides an API for setting the screen brightness.
......@@ -14,19 +14,19 @@ import brightness from '@ohos.brightness';
## brightness.setValue
setValue(value: number)
setValue(value: number): void
Sets the screen brightness.
**System capability:** SystemCapability.PowerManager.DisplayPowerManager
This is a system API and cannot be called by third-party applications.
**Note:** This is a system API and it is used only for system applications.
**System capability:** SystemCapability.PowerManager.DisplayPowerManager
**Parameters**
| Name | Type | Mandatory | Description |
| ----- | ------ | ---- | ----------- |
| value | number | Yes | Brightness value, ranging from 0 to 255.|
| value | number | Yes | Brightness value, ranging from **0** to **255**.|
**Example**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册