| 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<void> | 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
| 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
| 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<void> | 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
| 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.|