Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Docs
提交
1ea1dda5
D
Docs
项目概览
OpenHarmony
/
Docs
大约 1 年 前同步成功
通知
159
Star
292
Fork
28
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
Docs
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
1ea1dda5
编写于
5月 18, 2023
作者:
朱
朱天怡
提交者:
Gitee
5月 18, 2023
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
一致性修改
Signed-off-by:
N
朱天怡
<
zhutianyi2@huawei.com
>
上级
052a075f
变更
4
显示空白变更内容
内联
并排
Showing
4 changed file
with
36 addition
and
36 deletion
+36
-36
zh-cn/application-dev/reference/apis/js-apis-resourceschedule-backgroundTaskManager.md
...ce/apis/js-apis-resourceschedule-backgroundTaskManager.md
+24
-24
zh-cn/application-dev/reference/apis/js-apis-resourceschedule-workScheduler.md
.../reference/apis/js-apis-resourceschedule-workScheduler.md
+6
-6
zh-cn/application-dev/reference/errorcodes/errorcode-backgroundTaskMgr.md
...n-dev/reference/errorcodes/errorcode-backgroundTaskMgr.md
+5
-5
zh-cn/application-dev/reference/errorcodes/errorcode-workScheduler.md
...ation-dev/reference/errorcodes/errorcode-workScheduler.md
+1
-1
未找到文件。
zh-cn/application-dev/reference/apis/js-apis-resourceschedule-backgroundTaskManager.md
浏览文件 @
1ea1dda5
...
@@ -51,10 +51,10 @@ requestSuspendDelay(reason: string, callback: Callback<void>): DelaySuspen
...
@@ -51,10 +51,10 @@ requestSuspendDelay(reason: string, callback: Callback<void>): DelaySuspen
| ---- | --------------------- |
| ---- | --------------------- |
| 9800001 | Memory operation failed. |
| 9800001 | Memory operation failed. |
| 9800002 | Parcel operation failed. |
| 9800002 | Parcel operation failed. |
| 9800003 | I
PC
failed. | |
| 9800003 | I
nner transact
failed. | |
| 9800004 | System service operation failed. |
| 9800004 | System service operation failed. |
| 9900001 | Caller information verification failed
for a transient task
. |
| 9900001 | Caller information verification failed. |
| 9900002 |
Transient
task verification failed. |
| 9900002 |
Background
task verification failed. |
**示例**
:
**示例**
:
...
@@ -99,10 +99,10 @@ getRemainingDelayTime(requestId: number, callback: AsyncCallback<number>):
...
@@ -99,10 +99,10 @@ getRemainingDelayTime(requestId: number, callback: AsyncCallback<number>):
| ---- | --------------------- |
| ---- | --------------------- |
| 9800001 | Memory operation failed. |
| 9800001 | Memory operation failed. |
| 9800002 | Parcel operation failed. |
| 9800002 | Parcel operation failed. |
| 9800003 | I
PC failed. |
|
| 9800003 | I
nner transact failed.
|
| 9800004 | System service operation failed. |
| 9800004 | System service operation failed. |
| 9900001 | Caller information verification failed
for a transient task
. |
| 9900001 | Caller information verification failed. |
| 9900002 |
Transient
task verification failed. |
| 9900002 |
Background
task verification failed. |
**示例**
:
**示例**
:
...
@@ -155,10 +155,10 @@ getRemainingDelayTime(requestId: number): Promise<number>
...
@@ -155,10 +155,10 @@ getRemainingDelayTime(requestId: number): Promise<number>
| ---- | --------------------- |
| ---- | --------------------- |
| 9800001 | Memory operation failed. |
| 9800001 | Memory operation failed. |
| 9800002 | Parcel operation failed. |
| 9800002 | Parcel operation failed. |
| 9800003 | I
PC
failed. | |
| 9800003 | I
nner transact
failed. | |
| 9800004 | System service operation failed. |
| 9800004 | System service operation failed. |
| 9900001 | Caller information verification failed
for a transient task
. |
| 9900001 | Caller information verification failed. |
| 9900002 |
Transient
task verification failed. |
| 9900002 |
Background
task verification failed. |
**示例**
:
**示例**
:
...
@@ -200,10 +200,10 @@ cancelSuspendDelay(requestId: number): void
...
@@ -200,10 +200,10 @@ cancelSuspendDelay(requestId: number): void
| ---- | --------------------- |
| ---- | --------------------- |
| 9800001 | Memory operation failed. |
| 9800001 | Memory operation failed. |
| 9800002 | Parcel operation failed. |
| 9800002 | Parcel operation failed. |
| 9800003 | I
PC
failed. | |
| 9800003 | I
nner transact
failed. | |
| 9800004 | System service operation failed. |
| 9800004 | System service operation failed. |
| 9900001 | Caller information verification failed
for a transient task
. |
| 9900001 | Caller information verification failed. |
| 9900002 |
Transient
task verification failed. |
| 9900002 |
Background
task verification failed. |
**示例**
:
**示例**
:
...
@@ -246,9 +246,9 @@ startBackgroundRunning(context: Context, bgMode: BackgroundMode, wantAgent: Want
...
@@ -246,9 +246,9 @@ startBackgroundRunning(context: Context, bgMode: BackgroundMode, wantAgent: Want
| ---- | --------------------- |
| ---- | --------------------- |
| 9800001 | Memory operation failed. |
| 9800001 | Memory operation failed. |
| 9800002 | Parcel operation failed. |
| 9800002 | Parcel operation failed. |
| 9800003 | I
PC
failed. | |
| 9800003 | I
nner transact
failed. | |
| 9800004 | System service operation failed. |
| 9800004 | System service operation failed. |
| 9800005 |
Continuous
task verification failed. |
| 9800005 |
Background
task verification failed. |
| 9800006 | Notification verification failed. |
| 9800006 | Notification verification failed. |
| 9800007 | Task storage failed. |
| 9800007 | Task storage failed. |
...
@@ -329,9 +329,9 @@ startBackgroundRunning(context: Context, bgMode: BackgroundMode, wantAgent: Want
...
@@ -329,9 +329,9 @@ startBackgroundRunning(context: Context, bgMode: BackgroundMode, wantAgent: Want
| ---- | --------------------- |
| ---- | --------------------- |
| 9800001 | Memory operation failed. |
| 9800001 | Memory operation failed. |
| 9800002 | Parcel operation failed. |
| 9800002 | Parcel operation failed. |
| 9800003 | I
PC
failed. | |
| 9800003 | I
nner transact
failed. | |
| 9800004 | System service operation failed. |
| 9800004 | System service operation failed. |
| 9800005 |
Continuous
task verification failed. |
| 9800005 |
Background
task verification failed. |
| 9800006 | Notification verification failed. |
| 9800006 | Notification verification failed. |
| 9800007 | Task storage failed. |
| 9800007 | Task storage failed. |
...
@@ -399,9 +399,9 @@ stopBackgroundRunning(context: Context, callback: AsyncCallback<void>): vo
...
@@ -399,9 +399,9 @@ stopBackgroundRunning(context: Context, callback: AsyncCallback<void>): vo
| ---- | --------------------- |
| ---- | --------------------- |
| 9800001 | Memory operation failed. |
| 9800001 | Memory operation failed. |
| 9800002 | Parcel operation failed. |
| 9800002 | Parcel operation failed. |
| 9800003 | I
PC
failed. | |
| 9800003 | I
nner transact
failed. | |
| 9800004 | System service operation failed. |
| 9800004 | System service operation failed. |
| 9800005 |
Continuous
task verification failed. |
| 9800005 |
Background
task verification failed. |
| 9800006 | Notification verification failed. |
| 9800006 | Notification verification failed. |
| 9800007 | Task storage failed. |
| 9800007 | Task storage failed. |
...
@@ -460,9 +460,9 @@ stopBackgroundRunning(context: Context): Promise<void>
...
@@ -460,9 +460,9 @@ stopBackgroundRunning(context: Context): Promise<void>
| ---- | --------------------- |
| ---- | --------------------- |
| 9800001 | Memory operation failed. |
| 9800001 | Memory operation failed. |
| 9800002 | Parcel operation failed. |
| 9800002 | Parcel operation failed. |
| 9800003 | I
PC
failed. | |
| 9800003 | I
nner transact
failed. | |
| 9800004 | System service operation failed. |
| 9800004 | System service operation failed. |
| 9800005 |
Continuous
task verification failed. |
| 9800005 |
Background
task verification failed. |
| 9800006 | Notification verification failed. |
| 9800006 | Notification verification failed. |
| 9800007 | Task storage failed. |
| 9800007 | Task storage failed. |
...
@@ -513,9 +513,9 @@ applyEfficiencyResources(request: [EfficiencyResourcesRequest](#efficiencyresour
...
@@ -513,9 +513,9 @@ applyEfficiencyResources(request: [EfficiencyResourcesRequest](#efficiencyresour
| ---- | --------------------- |
| ---- | --------------------- |
| 9800001 | Memory operation failed. |
| 9800001 | Memory operation failed. |
| 9800002 | Parcel operation failed. |
| 9800002 | Parcel operation failed. |
| 9800003 | I
PC
failed. | |
| 9800003 | I
nner transact
failed. | |
| 9800004 | System service operation failed. |
| 9800004 | System service operation failed. |
| 18700001 | Caller information verification failed
when applying for efficiency resources
. |
| 18700001 | Caller information verification failed. |
**示例**
:
**示例**
:
...
@@ -556,9 +556,9 @@ resetAllEfficiencyResources(): void
...
@@ -556,9 +556,9 @@ resetAllEfficiencyResources(): void
| ---- | --------------------- |
| ---- | --------------------- |
| 9800001 | Memory operation failed. |
| 9800001 | Memory operation failed. |
| 9800002 | Parcel operation failed. |
| 9800002 | Parcel operation failed. |
| 9800003 | I
PC
failed. | |
| 9800003 | I
nner transact
failed. | |
| 9800004 | System service operation failed. |
| 9800004 | System service operation failed. |
| 18700001 | Caller information verification failed
when applying for efficiency resources
. |
| 18700001 | Caller information verification failed. |
**示例**
:
**示例**
:
...
...
zh-cn/application-dev/reference/apis/js-apis-resourceschedule-workScheduler.md
浏览文件 @
1ea1dda5
...
@@ -39,7 +39,7 @@ startWork(work: WorkInfo): void
...
@@ -39,7 +39,7 @@ startWork(work: WorkInfo): void
| 9700001 | Memory operation failed. |
| 9700001 | Memory operation failed. |
| 9700002 | Parcel operation failed. |
| 9700002 | Parcel operation failed. |
| 9700003 | System service operation failed. |
| 9700003 | System service operation failed. |
| 9700004 | Check
ing
workInfo failed. |
| 9700004 | Check workInfo failed. |
| 9700005 | StartWork failed. |
| 9700005 | StartWork failed. |
...
@@ -91,7 +91,7 @@ stopWork(work: WorkInfo, needCancel?: boolean): void
...
@@ -91,7 +91,7 @@ stopWork(work: WorkInfo, needCancel?: boolean): void
| 9700001 | Memory operation failed. |
| 9700001 | Memory operation failed. |
| 9700002 | Parcel operation failed. |
| 9700002 | Parcel operation failed. |
| 9700003 | System service operation failed. |
| 9700003 | System service operation failed. |
| 9700004 | Check
ing
workInfo failed. |
| 9700004 | Check workInfo failed. |
**示例**
:
**示例**
:
...
@@ -141,7 +141,7 @@ getWorkStatus(workId: number, callback : AsyncCallback\<WorkInfo>): void
...
@@ -141,7 +141,7 @@ getWorkStatus(workId: number, callback : AsyncCallback\<WorkInfo>): void
| 9700001 | Memory operation failed. |
| 9700001 | Memory operation failed. |
| 9700002 | Parcel operation failed. |
| 9700002 | Parcel operation failed. |
| 9700003 | System service operation failed. |
| 9700003 | System service operation failed. |
| 9700004 | Check
ing
workInfo failed. |
| 9700004 | Check workInfo failed. |
**示例**
:
**示例**
:
...
@@ -189,7 +189,7 @@ getWorkStatus(workId: number): Promise\<WorkInfo>
...
@@ -189,7 +189,7 @@ getWorkStatus(workId: number): Promise\<WorkInfo>
| 9700001 | Memory operation failed. |
| 9700001 | Memory operation failed. |
| 9700002 | Parcel operation failed. |
| 9700002 | Parcel operation failed. |
| 9700003 | System service operation failed. |
| 9700003 | System service operation failed. |
| 9700004 | Check
ing
workInfo failed. |
| 9700004 | Check workInfo failed. |
**示例**
:
**示例**
:
...
@@ -346,7 +346,7 @@ isLastWorkTimeOut(workId: number, callback : AsyncCallback\<void>): boolean
...
@@ -346,7 +346,7 @@ isLastWorkTimeOut(workId: number, callback : AsyncCallback\<void>): boolean
| 9700001 | Memory operation failed. |
| 9700001 | Memory operation failed. |
| 9700002 | Parcel operation failed. |
| 9700002 | Parcel operation failed. |
| 9700003 | System service operation failed. |
| 9700003 | System service operation failed. |
| 9700004 | Check
ing
workInfo failed. |
| 9700004 | Check workInfo failed. |
**示例**
:
**示例**
:
...
@@ -392,7 +392,7 @@ isLastWorkTimeOut(workId: number): Promise\<boolean>
...
@@ -392,7 +392,7 @@ isLastWorkTimeOut(workId: number): Promise\<boolean>
| 9700001 | Memory operation failed. |
| 9700001 | Memory operation failed. |
| 9700002 | Parcel operation failed. |
| 9700002 | Parcel operation failed. |
| 9700003 | System service operation failed. |
| 9700003 | System service operation failed. |
| 9700004 | Check
ing
workInfo failed. |
| 9700004 | Check workInfo failed. |
**示例**
:
**示例**
:
...
...
zh-cn/application-dev/reference/errorcodes/errorcode-backgroundTaskMgr.md
浏览文件 @
1ea1dda5
...
@@ -38,7 +38,7 @@ Parcel operation failed.
...
@@ -38,7 +38,7 @@ Parcel operation failed.
**错误信息**
**错误信息**
I
PC
failed.
I
nner transact
failed.
**可能原因**
**可能原因**
...
@@ -67,7 +67,7 @@ System service operation failed.
...
@@ -67,7 +67,7 @@ System service operation failed.
**错误信息**
**错误信息**
Continuous
task verification failed.
Background
task verification failed.
**可能原因**
**可能原因**
...
@@ -120,7 +120,7 @@ Task storage failed.
...
@@ -120,7 +120,7 @@ Task storage failed.
**错误信息**
**错误信息**
Caller information verification failed
for a transient task
.
Caller information verification failed.
**可能原因**
**可能原因**
...
@@ -138,7 +138,7 @@ Caller information verification failed for a transient task.
...
@@ -138,7 +138,7 @@ Caller information verification failed for a transient task.
**错误信息**
**错误信息**
Transient
task verification failed.
Background
task verification failed.
**可能原因**
**可能原因**
...
@@ -157,7 +157,7 @@ Transient task verification failed.
...
@@ -157,7 +157,7 @@ Transient task verification failed.
**错误信息**
**错误信息**
Caller information verification failed
when applying for efficiency resources
.
Caller information verification failed.
**可能原因**
**可能原因**
...
...
zh-cn/application-dev/reference/errorcodes/errorcode-workScheduler.md
浏览文件 @
1ea1dda5
...
@@ -53,7 +53,7 @@ System service operation failed.
...
@@ -53,7 +53,7 @@ System service operation failed.
**错误信息**
**错误信息**
Check
ing
workInfo failed.
Check workInfo failed.
**可能原因**
**可能原因**
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录