提交 023bd003 编写于 作者: Z zhanglitao

support set window brightness to default

Signed-off-by: Nzhanglitao <zhanglitao11@huawei.com>
上级 12ae137c
......@@ -3601,7 +3601,7 @@ When the screen brightness setting for the window takes effect, Control Panel ca
| Name| Type| Mandatory| Description |
| ---------- | ------------------------- | -- |-------------------------------------------|
| brightness | number | Yes| Brightness to set. The value is a floating point number in the range [0.0, 1.0] or -1.0, and the value **1.0** means the brightest, **-1.0** means the default brightest.|
| brightness | number | Yes| Brightness to set. The value is a floating point number in the range [0.0, 1.0], and the value **1.0** means the brightest.|
| callback | AsyncCallback&lt;void&gt; | Yes| Callback used to return the result. |
**Error codes**
......@@ -3644,7 +3644,7 @@ When the screen brightness setting for the window takes effect, Control Panel ca
| Name| Type| Mandatory| Description |
| ---------- | ------ | -- |----------------------------------------|
| brightness | number | Yes| Brightness to set. The value is a floating point number in the range [0.0, 1.0] or -1.0, and the value **1.0** means the brightest, **-1.0** means the default brightest.|
| brightness | number | Yes| Brightness to set. The value is a floating point number in the range [0.0, 1.0], and the value **1.0** indicates the brightest.|
**Return value**
......@@ -6212,7 +6212,7 @@ When the screen brightness setting for the window takes effect, Control Panel ca
| Name | Type | Mandatory| Description |
| ---------- | ------------------------- | ---- |---------------------------------------|
| brightness | number | Yes | Brightness to set. The value is a floating point number in the range [0.0, 1.0] or -1.0, and the value **1.0** means the brightest, **-1.0** means the default brightest.|
| brightness | number | Yes | Brightness to set. The value is a floating point number in the range [0.0, 1.0], and the value **1.0** means the brightest.|
| callback | AsyncCallback&lt;void&gt; | Yes | Callback used to return the result. |
**Example**
......@@ -6246,7 +6246,7 @@ When the screen brightness setting for the window takes effect, Control Panel ca
| Name | Type | Mandatory| Description |
| ---------- | ------ | ---- |------------------------------------------|
| brightness | number | Yes | Brightness to set. The value is a floating point number in the range [0.0, 1.0] or -1.0, and the value **1.0** means the brightest, **-1.0** means the default brightest.|
| brightness | number | Yes | Brightness to set. The value is a floating point number in the range [0.0, 1.0], and the value **1.0** means the brightest.|
**Return value**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册