提交 7f994fd0 编写于 作者: S shawn_he

update docs

Signed-off-by: Nshawn_he <shawn.he@huawei.com>
上级 2c0e440b
......@@ -97,7 +97,7 @@ Checks the screen status of the current device.
**Return Value**
| Type | Description |
| ---------------------- | --------------------------------------- |
| Promise&lt;boolean&gt; | Promise used to asynchronously obtain the return value. <br/>Return value: The value **true** indicates that the screen is on, and the value **false** indicates the opposite.|
| Promise&lt;boolean&gt; | Promise used to obtain the return value. <br/>Return value: The value **true** indicates that the screen is on, and the value **false** indicates the opposite.|
**Example**
......
......@@ -21,7 +21,7 @@ Enumerates the types of **RunningLock** objects.
| Name | Default Value | Description |
| ------------------------ | ---- | ------------------- |
| BACKGROUND | 1 | Defines a **RunningLock** object. |
| BACKGROUND | 1 | A lock that prevents the system from hibernating when the screen is off.|
| PROXIMITY_SCREEN_CONTROL | 2 | A lock that determines whether to turn on or off the screen based on the distance away from the screen.|
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册