Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Docs
提交
b5645993
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看板
未验证
提交
b5645993
编写于
11月 23, 2022
作者:
朱
朱天怡
提交者:
Gitee
11月 23, 2022
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
bugfix
Signed-off-by:
N
朱天怡
<
zhutianyi2@huawei.com
>
上级
067c3edb
变更
2
显示空白变更内容
内联
并排
Showing
2 changed file
with
28 addition
and
28 deletion
+28
-28
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
+4
-4
未找到文件。
zh-cn/application-dev/reference/apis/js-apis-resourceschedule-backgroundTaskManager.md
浏览文件 @
b5645993
...
...
@@ -51,10 +51,10 @@ requestSuspendDelay(reason: string, callback: Callback<void>): DelaySuspen
| ---- | --------------------- |
| 9800001 | Memory operation failed. |
| 9800002 | Parcel operation failed. |
| 9800003 | I
nner transact
failed. | |
| 9800003 | I
PC
failed. | |
| 9800004 | System service operation failed. |
| 9900001 | Caller information verification failed. |
| 9900002 |
Background
task verification failed. |
| 9900001 | Caller information verification failed
for a transient task
. |
| 9900002 |
Transient
task verification failed. |
**示例**
:
...
...
@@ -99,10 +99,10 @@ getRemainingDelayTime(requestId: number, callback: AsyncCallback<number>):
| ---- | --------------------- |
| 9800001 | Memory operation failed. |
| 9800002 | Parcel operation failed. |
| 9800003 | I
nner transact
failed. | |
| 9800003 | I
PC
failed. | |
| 9800004 | System service operation failed. |
| 9900001 | Caller information verification failed. |
| 9900002 |
Background
task verification failed. |
| 9900001 | Caller information verification failed
for a transient task
. |
| 9900002 |
Transient
task verification failed. |
**示例**
:
...
...
@@ -155,10 +155,10 @@ getRemainingDelayTime(requestId: number): Promise<number>
| ---- | --------------------- |
| 9800001 | Memory operation failed. |
| 9800002 | Parcel operation failed. |
| 9800003 | I
nner transact
failed. | |
| 9800003 | I
PC
failed. | |
| 9800004 | System service operation failed. |
| 9900001 | Caller information verification failed. |
| 9900002 |
Background
task verification failed. |
| 9900001 | Caller information verification failed
for a transient task
. |
| 9900002 |
Transient
task verification failed. |
**示例**
:
...
...
@@ -200,10 +200,10 @@ cancelSuspendDelay(requestId: number): void
| ---- | --------------------- |
| 9800001 | Memory operation failed. |
| 9800002 | Parcel operation failed. |
| 9800003 | I
nner transact
failed. | |
| 9800003 | I
PC
failed. | |
| 9800004 | System service operation failed. |
| 9900001 | Caller information verification failed. |
| 9900002 |
Background
task verification failed. |
| 9900001 | Caller information verification failed
for a transient task
. |
| 9900002 |
Transient
task verification failed. |
**示例**
:
...
...
@@ -246,9 +246,9 @@ startBackgroundRunning(context: Context, bgMode: BackgroundMode, wantAgent: Want
| ---- | --------------------- |
| 9800001 | Memory operation failed. |
| 9800002 | Parcel operation failed. |
| 9800003 | I
nner transact
failed. | |
| 9800003 | I
PC
failed. | |
| 9800004 | System service operation failed. |
| 9800005 |
Background
task verification failed. |
| 9800005 |
Continuous
task verification failed. |
| 9800006 | Notification verification failed. |
| 9800007 | Task storage failed. |
...
...
@@ -325,9 +325,9 @@ startBackgroundRunning(context: Context, bgMode: BackgroundMode, wantAgent: Want
| ---- | --------------------- |
| 9800001 | Memory operation failed. |
| 9800002 | Parcel operation failed. |
| 9800003 | I
nner transact
failed. | |
| 9800003 | I
PC
failed. | |
| 9800004 | System service operation failed. |
| 9800005 |
Background
task verification failed. |
| 9800005 |
Continuous
task verification failed. |
| 9800006 | Notification verification failed. |
| 9800007 | Task storage failed. |
...
...
@@ -391,9 +391,9 @@ stopBackgroundRunning(context: Context, callback: AsyncCallback<void>): vo
| ---- | --------------------- |
| 9800001 | Memory operation failed. |
| 9800002 | Parcel operation failed. |
| 9800003 | I
nner transact
failed. | |
| 9800003 | I
PC
failed. | |
| 9800004 | System service operation failed. |
| 9800005 |
Background
task verification failed. |
| 9800005 |
Continuous
task verification failed. |
| 9800006 | Notification verification failed. |
| 9800007 | Task storage failed. |
...
...
@@ -452,9 +452,9 @@ stopBackgroundRunning(context: Context): Promise<void>
| ---- | --------------------- |
| 9800001 | Memory operation failed. |
| 9800002 | Parcel operation failed. |
| 9800003 | I
nner transact
failed. | |
| 9800003 | I
PC
failed. | |
| 9800004 | System service operation failed. |
| 9800005 |
Background
task verification failed. |
| 9800005 |
Continuous
task verification failed. |
| 9800006 | Notification verification failed. |
| 9800007 | Task storage failed. |
...
...
@@ -505,9 +505,9 @@ applyEfficiencyResources(request: [EfficiencyResourcesRequest](#efficiencyresour
| ---- | --------------------- |
| 9800001 | Memory operation failed. |
| 9800002 | Parcel operation failed. |
| 9800003 | I
nner transact
failed. | |
| 9800003 | I
PC
failed. | |
| 9800004 | System service operation failed. |
| 18700001 | Caller information verification failed. |
| 18700001 | Caller information verification failed
when applying for efficiency resources
. |
**示例**
:
...
...
@@ -548,9 +548,9 @@ resetAllEfficiencyResources(): void
| ---- | --------------------- |
| 9800001 | Memory operation failed. |
| 9800002 | Parcel operation failed. |
| 9800003 | I
nner transact
failed. | |
| 9800003 | I
PC
failed. | |
| 9800004 | System service operation failed. |
| 18700001 | Caller information verification failed. |
| 18700001 | Caller information verification failed
when applying for efficiency resources
. |
**示例**
:
...
...
zh-cn/application-dev/reference/apis/js-apis-resourceschedule-workScheduler.md
浏览文件 @
b5645993
...
...
@@ -39,7 +39,7 @@ startWork(work: WorkInfo): void
| 9700001 | Memory operation failed. |
| 9700002 | Parcel operation failed. |
| 9700003 | System service operation failed. |
| 9700004 | Check workInfo failed. |
| 9700004 | Check
ing
workInfo failed. |
| 9700005 | StartWork failed. |
...
...
@@ -91,7 +91,7 @@ stopWork(work: WorkInfo, needCancel?: boolean): void
| 9700001 | Memory operation failed. |
| 9700002 | Parcel operation failed. |
| 9700003 | System service operation failed. |
| 9700004 | Check workInfo failed. |
| 9700004 | Check
ing
workInfo failed. |
**示例**
:
...
...
@@ -141,7 +141,7 @@ getWorkStatus(workId: number, callback : AsyncCallback\<WorkInfo>): void
| 9700001 | Memory operation failed. |
| 9700002 | Parcel operation failed. |
| 9700003 | System service operation failed. |
| 9700004 | Check workInfo failed. |
| 9700004 | Check
ing
workInfo failed. |
**示例**
:
...
...
@@ -189,7 +189,7 @@ getWorkStatus(workId: number): Promise\<WorkInfo>
| 9700001 | Memory operation failed. |
| 9700002 | Parcel operation failed. |
| 9700003 | System service operation failed. |
| 9700004 | Check workInfo failed. |
| 9700004 | Check
ing
workInfo failed. |
**示例**
:
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录