You need to sign in or sign up before continuing.
未验证 提交 7be4037e 编写于 作者: O openharmony_ci 提交者: Gitee

!17789 【锁屏】一致性修改

Merge pull request !17789 from wangdongqi/master
...@@ -94,7 +94,7 @@ unlock(callback: AsyncCallback<boolean>): void ...@@ -94,7 +94,7 @@ unlock(callback: AsyncCallback<boolean>): void
| 错误码ID | 错误信息 | | 错误码ID | 错误信息 |
| -------- | ---------------------------------------- | | -------- | ---------------------------------------- |
| 13200002 | The screenlock management service is abnormal. | | 13200002 | the screenlock management service is abnormal. |
**示例:** **示例:**
...@@ -130,7 +130,7 @@ unlock(): Promise<boolean> ...@@ -130,7 +130,7 @@ unlock(): Promise<boolean>
| 错误码ID | 错误信息 | | 错误码ID | 错误信息 |
| -------- | ---------------------------------------- | | -------- | ---------------------------------------- |
| 13200002 | The screenlock management service is abnormal. | | 13200002 | the screenlock management service is abnormal. |
**示例:** **示例:**
...@@ -166,7 +166,7 @@ lock(callback: AsyncCallback<boolean>): void ...@@ -166,7 +166,7 @@ lock(callback: AsyncCallback<boolean>): void
| 错误码ID | 错误信息 | | 错误码ID | 错误信息 |
| -------- | ---------------------------------------- | | -------- | ---------------------------------------- |
| 13200002 | The screenlock management service is abnormal. | | 13200002 | the screenlock management service is abnormal. |
**示例:** **示例:**
...@@ -204,7 +204,7 @@ lock(): Promise<boolean> ...@@ -204,7 +204,7 @@ lock(): Promise<boolean>
| 错误码ID | 错误信息 | | 错误码ID | 错误信息 |
| -------- | ---------------------------------------- | | -------- | ---------------------------------------- |
| 13200002 | The screenlock management service is abnormal. | | 13200002 | the screenlock management service is abnormal. |
**示例:** **示例:**
...@@ -246,7 +246,7 @@ onSystemEvent(callback: Callback<SystemEvent>): boolean ...@@ -246,7 +246,7 @@ onSystemEvent(callback: Callback<SystemEvent>): boolean
| 错误码ID | 错误信息 | | 错误码ID | 错误信息 |
| -------- | ---------------------------------------- | | -------- | ---------------------------------------- |
| 13200002 | The screenlock management service is abnormal. | | 13200002 | the screenlock management service is abnormal. |
**示例:** **示例:**
...@@ -286,7 +286,7 @@ sendScreenLockEvent(event: String, parameter: number, callback: AsyncCallback&lt ...@@ -286,7 +286,7 @@ sendScreenLockEvent(event: String, parameter: number, callback: AsyncCallback&lt
| 错误码ID | 错误信息 | | 错误码ID | 错误信息 |
| -------- | ---------------------------------------- | | -------- | ---------------------------------------- |
| 13200002 | The screenlock management service is abnormal. | | 13200002 |the screenlock management service is abnormal. |
**示例:** **示例:**
...@@ -325,6 +325,14 @@ sendScreenLockEvent(event: String, parameter: number): Promise<boolean> ...@@ -325,6 +325,14 @@ sendScreenLockEvent(event: String, parameter: number): Promise<boolean>
| ----------------- | ---------------------------------------------- | | ----------------- | ---------------------------------------------- |
| Promise\<boolean> | Promise对象。返回true表示发送事件成功;返回false表示发送事件失败。 | | Promise\<boolean> | Promise对象。返回true表示发送事件成功;返回false表示发送事件失败。 |
**错误码**
以下错误码的详细介绍请参见[锁屏服务错误码](../errorcodes/errorcode-screenlock.md)
| 错误码ID | 错误信息 |
| -------- | ---------------------------------------- |
| 13200002 | the screenlock management service is abnormal. |
**示例:** **示例:**
```js ```js
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册