提交 fccbf25b 编写于 作者: H hujun211

modify docs of powermanger

Signed-off-by: Nhujun211 <hujun211@huawei.com>
上级 2cca364a
......@@ -170,6 +170,8 @@ lock(timeout: number): void
**系统能力:** SystemCapability.PowerManager.PowerManager.Core
**需要权限:** ohos.permission.RUNNING_LOCK
**参数:**
| 参数名 | 类型 | 必填 | 说明 |
......@@ -198,6 +200,8 @@ unlock(): void
**系统能力:** SystemCapability.PowerManager.PowerManager.Core
**需要权限:** ohos.permission.RUNNING_LOCK
**示例:**
```
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册