未验证 提交 5ab75d2f 编写于 作者: 朱天怡 提交者: Gitee

修改

Signed-off-by: N朱天怡 <zhutianyi2@huawei.com>
上级 3628b8ea
......@@ -237,6 +237,7 @@ startBackgroundRunning(context: Context, bgMode: BackgroundMode, wantAgent: Want
| 错误码 | 错误信息 | 说明 |
| ---- | --------------------- | ---- |
| 201 | Permission denied. | 权限校验失败 |
| 401 | Parameter error. | 参数检查错误 |
| 9800001 | Memory operation failed. | 内存操作失败 |
| 9800002 | Parcel operation failed. | Parcel读写操作失败 |
......@@ -313,6 +314,7 @@ startBackgroundRunning(context: Context, bgMode: BackgroundMode, wantAgent: Want
| 错误码 | 错误信息 | 说明 |
| ---- | --------------------- | ---- |
| 201 | Permission denied. | 权限校验失败 |
| 401 | Parameter error. | 参数检查错误 |
| 9800001 | Memory operation failed. | 内存操作失败 |
| 9800002 | Parcel operation failed. | Parcel读写操作失败 |
......@@ -376,6 +378,7 @@ stopBackgroundRunning(context: Context, callback: AsyncCallback&lt;void&gt;): vo
| 错误码 | 错误信息 | 说明 |
| ---- | --------------------- | ---- |
| 201 | Permission denied. | 权限校验失败 |
| 401 | Parameter error. | 参数检查错误 |
| 9800001 | Memory operation failed. | 内存操作失败 |
| 9800002 | Parcel operation failed. | Parcel读写操作失败 |
......@@ -481,6 +484,7 @@ applyEfficiencyResources(request: [EfficiencyResourcesRequest](#efficiencyresour
| 错误码 | 错误信息 | 说明 |
| ---- | --------------------- | ---- |
| 201 | Permission denied. | 权限校验失败 |
| 401 | Parameter error. | 参数检查错误 |
| 9800001 | Memory operation failed. | 内存操作失败 |
| 9800002 | Parcel operation failed. | Parcel读写操作失败 |
......@@ -525,6 +529,7 @@ resetAllEfficiencyResources(): void
| 错误码 | 错误信息 | 说明 |
| ---- | --------------------- | ---- |
| 201 | Permission denied. | 权限校验失败 |
| 401 | Parameter error. | 参数检查错误 |
| 9800001 | Memory operation failed. | 内存操作失败 |
| 9800002 | Parcel operation failed. | Parcel读写操作失败 |
......
......@@ -11,7 +11,7 @@ Permission denied.
该错误码表示权限校验失败,可能原因是未配置对应权限。
### 处理步骤
配置权限ohos.permission.KEEP_BACKGROUND_RUNNING
长时任务请配置权限ohos.permission.KEEP_BACKGROUND_RUNNING,能效资源申请请配置权限runningResourcesApply
## 401 参数检查错误
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册