Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Docs
提交
6ca007c3
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看板
未验证
提交
6ca007c3
编写于
4月 03, 2023
作者:
O
openharmony_ci
提交者:
Gitee
4月 03, 2023
浏览文件
操作
浏览文件
下载
差异文件
!16809 修复过期函数
Merge pull request !16809 from jerry/OpenHarmony-3.2-Release
上级
e28f386d
4e0bd9d0
变更
7
显示空白变更内容
内联
并排
Showing
7 changed file
with
52 addition
and
14 deletion
+52
-14
zh-cn/application-dev/application-models/create-pageability.md
.../application-dev/application-models/create-pageability.md
+8
-8
zh-cn/application-dev/reference/apis/js-apis-app-ability-want.md
...pplication-dev/reference/apis/js-apis-app-ability-want.md
+2
-2
zh-cn/application-dev/reference/apis/js-apis-application-want.md
...pplication-dev/reference/apis/js-apis-application-want.md
+2
-2
zh-cn/application-dev/reference/apis/js-apis-inner-ability-want.md
...lication-dev/reference/apis/js-apis-inner-ability-want.md
+2
-2
zh-cn/application-dev/reference/apis/js-apis-inner-application-serviceExtensionContext.md
...apis/js-apis-inner-application-serviceExtensionContext.md
+7
-0
zh-cn/application-dev/reference/apis/js-apis-inner-application-uiAbilityContext.md
...erence/apis/js-apis-inner-application-uiAbilityContext.md
+13
-0
zh-cn/application-dev/reference/errorcodes/errorcode-ability.md
...application-dev/reference/errorcodes/errorcode-ability.md
+18
-0
未找到文件。
zh-cn/application-dev/application-models/create-pageability.md
浏览文件 @
6ca007c3
...
@@ -76,22 +76,22 @@ FA模型中,可以通过featureAbility的getContext接口获取应用上下文
...
@@ -76,22 +76,22 @@ FA模型中,可以通过featureAbility的getContext接口获取应用上下文
通过getContext获取应用上下文并获取分布式目录的示例如下:
通过getContext获取应用上下文并获取分布式目录的示例如下:
```
ts
```
ts
import
featureAbility
from
'
@ohos.ability.featureAbility
'
import
featureAbility
from
'
@ohos.ability.featureAbility
'
;
import
f
ileIo
from
'
@ohos.fileio
'
import
f
s
from
'
@ohos.file.fs
'
;
(
async
()
=>
{
(
async
()
=>
{
let
dir
:
string
let
dir
:
string
;
try
{
try
{
console
.
info
(
'
Begin to getOrCreateDistributedDir
'
)
console
.
info
(
'
Begin to getOrCreateDistributedDir
'
)
;
dir
=
await
featureAbility
.
getContext
().
getOrCreateDistributedDir
()
dir
=
await
featureAbility
.
getContext
().
getOrCreateDistributedDir
()
;
console
.
info
(
'
distribute dir is
'
+
dir
)
console
.
info
(
'
distribute dir is
'
+
dir
)
}
catch
(
error
)
{
}
catch
(
error
)
{
console
.
error
(
'
getOrCreateDistributedDir failed with
'
+
error
)
console
.
error
(
'
getOrCreateDistributedDir failed with
'
+
error
)
;
}
}
let
fd
:
number
;
let
fd
:
number
;
let
path
=
dir
+
"
/a.txt
"
;
let
path
=
dir
+
"
/a.txt
"
;
fd
=
f
ileIo
.
openSync
(
path
,
0o2
|
0o100
,
0o666
)
;
fd
=
f
s
.
openSync
(
path
,
fs
.
OpenMode
.
READ_WRITE
).
fd
;
f
ileIo
.
close
(
fd
);
f
s
.
close
(
fd
);
})()
})()
```
```
zh-cn/application-dev/reference/apis/js-apis-app-ability-want.md
浏览文件 @
6ca007c3
...
@@ -109,10 +109,10 @@ import Want from '@ohos.app.ability.Want';
...
@@ -109,10 +109,10 @@ import Want from '@ohos.app.ability.Want';
```
```
* 文件描述符(FD)
* 文件描述符(FD)
```ts
```ts
import f
ileio from '@ohos.fileio
';
import f
s from '@ohos.file.fs
';
let fd;
let fd;
try {
try {
fd = f
ileio.openSync('/data/storage/el2/base/haps/pic.png')
;
fd = f
s.openSync('/data/storage/el2/base/haps/pic.png').fd
;
} catch(e) {
} catch(e) {
console.log('openSync fail:' + JSON.stringify(e));
console.log('openSync fail:' + JSON.stringify(e));
}
}
...
...
zh-cn/application-dev/reference/apis/js-apis-application-want.md
浏览文件 @
6ca007c3
...
@@ -108,10 +108,10 @@ import Want from '@ohos.application.Want';
...
@@ -108,10 +108,10 @@ import Want from '@ohos.application.Want';
```
```
* 文件描述符(FD)
* 文件描述符(FD)
```ts
```ts
import f
ileio from '@ohos.fileio
';
import f
s from '@ohos.file.fs
';
let fd;
let fd;
try {
try {
fd = f
ileio.openSync('/data/storage/el2/base/haps/pic.png')
;
fd = f
s.openSync('/data/storage/el2/base/haps/pic.png').fd
;
} catch(e) {
} catch(e) {
console.log('openSync fail:' + JSON.stringify(e));
console.log('openSync fail:' + JSON.stringify(e));
}
}
...
...
zh-cn/application-dev/reference/apis/js-apis-inner-ability-want.md
浏览文件 @
6ca007c3
...
@@ -41,12 +41,12 @@ Want是对象间信息传递的载体, 可以用于应用组件间的信息传
...
@@ -41,12 +41,12 @@ Want是对象间信息传递的载体, 可以用于应用组件间的信息传
-
传递FD(文件描述符)数据(在UIAbility对象中调用,其中示例中的context为UIAbility的上下文对象)
-
传递FD(文件描述符)数据(在UIAbility对象中调用,其中示例中的context为UIAbility的上下文对象)
```
ts
```
ts
import
f
ileio
from
'
@ohos.fileio
'
;
;
import
f
s
from
'
@ohos.file.fs
'
;
// ...
// ...
let
fd
;
let
fd
;
try
{
try
{
fd
=
f
ileio
.
openSync
(
'
/data/storage/el2/base/haps/pic.png
'
)
;
fd
=
f
s
.
openSync
(
'
/data/storage/el2/base/haps/pic.png
'
).
fd
;
}
catch
(
e
)
{
}
catch
(
e
)
{
console
.
log
(
'
openSync fail:
'
+
JSON
.
stringify
(
e
));
console
.
log
(
'
openSync fail:
'
+
JSON
.
stringify
(
e
));
}
}
...
...
zh-cn/application-dev/reference/apis/js-apis-inner-application-serviceExtensionContext.md
浏览文件 @
6ca007c3
...
@@ -55,6 +55,7 @@ startAbility(want: Want, callback: AsyncCallback<void>): void;
...
@@ -55,6 +55,7 @@ startAbility(want: Want, callback: AsyncCallback<void>): void;
| 16000009 | Can not start ability in wukong mode. |
| 16000009 | Can not start ability in wukong mode. |
| 16000010 | Can not operation with continue flag. |
| 16000010 | Can not operation with continue flag. |
| 16000011 | Context does not exist. |
| 16000011 | Context does not exist. |
| 16000017 | The previous ability is starting, wait start later. |
| 16000051 | Network error. The network is abnormal. |
| 16000051 | Network error. The network is abnormal. |
| 16000052 | Free install not support. The application does not support freeinstall |
| 16000052 | Free install not support. The application does not support freeinstall |
| 16000053 | Not top ability. The application is not top ability. |
| 16000053 | Not top ability. The application is not top ability. |
...
@@ -128,6 +129,7 @@ startAbility(want: Want, options?: StartOptions): Promise\<void>;
...
@@ -128,6 +129,7 @@ startAbility(want: Want, options?: StartOptions): Promise\<void>;
| 16000009 | Can not start ability in wukong mode. |
| 16000009 | Can not start ability in wukong mode. |
| 16000010 | Can not operation with continue flag. |
| 16000010 | Can not operation with continue flag. |
| 16000011 | Context does not exist. |
| 16000011 | Context does not exist. |
| 16000017 | The previous ability is starting, wait start later. |
| 16000051 | Network error. The network is abnormal. |
| 16000051 | Network error. The network is abnormal. |
| 16000052 | Free install not support. The application does not support freeinstall |
| 16000052 | Free install not support. The application does not support freeinstall |
| 16000053 | Not top ability. The application is not top ability. |
| 16000053 | Not top ability. The application is not top ability. |
...
@@ -199,6 +201,7 @@ startAbility(want: Want, options: StartOptions, callback: AsyncCallback<void&
...
@@ -199,6 +201,7 @@ startAbility(want: Want, options: StartOptions, callback: AsyncCallback<void&
| 16000009 | Can not start ability in wukong mode. |
| 16000009 | Can not start ability in wukong mode. |
| 16000010 | Can not operation with continue flag. |
| 16000010 | Can not operation with continue flag. |
| 16000011 | Context does not exist. |
| 16000011 | Context does not exist. |
| 16000017 | The previous ability is starting, wait start later. |
| 16000051 | Network error. The network is abnormal. |
| 16000051 | Network error. The network is abnormal. |
| 16000052 | Free install not support. The application does not support freeinstall |
| 16000052 | Free install not support. The application does not support freeinstall |
| 16000053 | Not top ability. The application is not top ability. |
| 16000053 | Not top ability. The application is not top ability. |
...
@@ -277,6 +280,7 @@ startAbilityWithAccount(want: Want, accountId: number, callback: AsyncCallback\<
...
@@ -277,6 +280,7 @@ startAbilityWithAccount(want: Want, accountId: number, callback: AsyncCallback\<
| 16000009 | Can not start ability in wukong mode. |
| 16000009 | Can not start ability in wukong mode. |
| 16000010 | Can not operation with continue flag. |
| 16000010 | Can not operation with continue flag. |
| 16000011 | Context does not exist. |
| 16000011 | Context does not exist. |
| 16000017 | The previous ability is starting, wait start later. |
| 16000051 | Network error. The network is abnormal. |
| 16000051 | Network error. The network is abnormal. |
| 16000052 | Free install not support. The application does not support freeinstall |
| 16000052 | Free install not support. The application does not support freeinstall |
| 16000053 | Not top ability. The application is not top ability. |
| 16000053 | Not top ability. The application is not top ability. |
...
@@ -354,6 +358,7 @@ startAbilityWithAccount(want: Want, accountId: number, options: StartOptions, ca
...
@@ -354,6 +358,7 @@ startAbilityWithAccount(want: Want, accountId: number, options: StartOptions, ca
| 16000009 | Can not start ability in wukong mode. |
| 16000009 | Can not start ability in wukong mode. |
| 16000010 | Can not operation with continue flag. |
| 16000010 | Can not operation with continue flag. |
| 16000011 | Context does not exist. |
| 16000011 | Context does not exist. |
| 16000017 | The previous ability is starting, wait start later. |
| 16000051 | Network error. The network is abnormal. |
| 16000051 | Network error. The network is abnormal. |
| 16000052 | Free install not support. The application does not support freeinstall |
| 16000052 | Free install not support. The application does not support freeinstall |
| 16000053 | Not top ability. The application is not top ability. |
| 16000053 | Not top ability. The application is not top ability. |
...
@@ -440,6 +445,7 @@ startAbilityWithAccount(want: Want, accountId: number, options?: StartOptions):
...
@@ -440,6 +445,7 @@ startAbilityWithAccount(want: Want, accountId: number, options?: StartOptions):
| 16000009 | Can not start ability in wukong mode. |
| 16000009 | Can not start ability in wukong mode. |
| 16000010 | Can not operation with continue flag. |
| 16000010 | Can not operation with continue flag. |
| 16000011 | Context does not exist. |
| 16000011 | Context does not exist. |
| 16000017 | The previous ability is starting, wait start later. |
| 16000051 | Network error. The network is abnormal. |
| 16000051 | Network error. The network is abnormal. |
| 16000052 | Free install not support. The application does not support freeinstall |
| 16000052 | Free install not support. The application does not support freeinstall |
| 16000053 | Not top ability. The application is not top ability. |
| 16000053 | Not top ability. The application is not top ability. |
...
@@ -1348,6 +1354,7 @@ startAbilityByCall(want: Want): Promise<Caller>;
...
@@ -1348,6 +1354,7 @@ startAbilityByCall(want: Want): Promise<Caller>;
| 16000007 | Service busyness. There are concurrent tasks, waiting for retry. |
| 16000007 | Service busyness. There are concurrent tasks, waiting for retry. |
| 16000008 | Crowdtest App Expiration. |
| 16000008 | Crowdtest App Expiration. |
| 16000009 | Can not start ability in wukong mode. |
| 16000009 | Can not start ability in wukong mode. |
| 16000017 | The previous ability is starting, wait start later. |
| 16000050 | Internal Error. |
| 16000050 | Internal Error. |
**示例:**
**示例:**
...
...
zh-cn/application-dev/reference/apis/js-apis-inner-application-uiAbilityContext.md
浏览文件 @
6ca007c3
...
@@ -52,6 +52,7 @@ startAbility(want: Want, callback: AsyncCallback<void>): void;
...
@@ -52,6 +52,7 @@ startAbility(want: Want, callback: AsyncCallback<void>): void;
| 16000009 | An ability cannot be started or stopped in Wukong mode. |
| 16000009 | An ability cannot be started or stopped in Wukong mode. |
| 16000010 | The call with the continuation flag is forbidden. |
| 16000010 | The call with the continuation flag is forbidden. |
| 16000011 | The context does not exist. |
| 16000011 | The context does not exist. |
| 16000017 | The previous ability is starting, wait start later. |
| 16000050 | Internal error. |
| 16000050 | Internal error. |
| 16000053 | The ability is not on the top of the UI. |
| 16000053 | The ability is not on the top of the UI. |
| 16000055 | Installation-free timed out. |
| 16000055 | Installation-free timed out. |
...
@@ -118,6 +119,7 @@ startAbility(want: Want, options: StartOptions, callback: AsyncCallback<void&
...
@@ -118,6 +119,7 @@ startAbility(want: Want, options: StartOptions, callback: AsyncCallback<void&
| 16000009 | An ability cannot be started or stopped in Wukong mode. |
| 16000009 | An ability cannot be started or stopped in Wukong mode. |
| 16000010 | The call with the continuation flag is forbidden. |
| 16000010 | The call with the continuation flag is forbidden. |
| 16000011 | The context does not exist. |
| 16000011 | The context does not exist. |
| 16000017 | The previous ability is starting, wait start later. |
| 16000050 | Internal error. |
| 16000050 | Internal error. |
| 16000053 | The ability is not on the top of the UI. |
| 16000053 | The ability is not on the top of the UI. |
| 16000055 | Installation-free timed out. |
| 16000055 | Installation-free timed out. |
...
@@ -192,6 +194,7 @@ startAbility(want: Want, options?: StartOptions): Promise<void>;
...
@@ -192,6 +194,7 @@ startAbility(want: Want, options?: StartOptions): Promise<void>;
| 16000009 | An ability cannot be started or stopped in Wukong mode. |
| 16000009 | An ability cannot be started or stopped in Wukong mode. |
| 16000010 | The call with the continuation flag is forbidden. |
| 16000010 | The call with the continuation flag is forbidden. |
| 16000011 | The context does not exist. |
| 16000011 | The context does not exist. |
| 16000017 | The previous ability is starting, wait start later. |
| 16000050 | Internal error. |
| 16000050 | Internal error. |
| 16000053 | The ability is not on the top of the UI. |
| 16000053 | The ability is not on the top of the UI. |
| 16000055 | Installation-free timed out. |
| 16000055 | Installation-free timed out. |
...
@@ -263,6 +266,7 @@ startAbilityForResult(want: Want, callback: AsyncCallback<AbilityResult>):
...
@@ -263,6 +266,7 @@ startAbilityForResult(want: Want, callback: AsyncCallback<AbilityResult>):
| 16000009 | An ability cannot be started or stopped in Wukong mode. |
| 16000009 | An ability cannot be started or stopped in Wukong mode. |
| 16000010 | The call with the continuation flag is forbidden. |
| 16000010 | The call with the continuation flag is forbidden. |
| 16000011 | The context does not exist. |
| 16000011 | The context does not exist. |
| 16000017 | The previous ability is starting, wait start later. |
| 16000050 | Internal error. |
| 16000050 | Internal error. |
| 16000053 | The ability is not on the top of the UI. |
| 16000053 | The ability is not on the top of the UI. |
| 16000055 | Installation-free timed out. |
| 16000055 | Installation-free timed out. |
...
@@ -333,6 +337,7 @@ startAbilityForResult(want: Want, options: StartOptions, callback: AsyncCallback
...
@@ -333,6 +337,7 @@ startAbilityForResult(want: Want, options: StartOptions, callback: AsyncCallback
| 16000009 | An ability cannot be started or stopped in Wukong mode. |
| 16000009 | An ability cannot be started or stopped in Wukong mode. |
| 16000010 | The call with the continuation flag is forbidden. |
| 16000010 | The call with the continuation flag is forbidden. |
| 16000011 | The context does not exist. |
| 16000011 | The context does not exist. |
| 16000017 | The previous ability is starting, wait start later. |
| 16000050 | Internal error. |
| 16000050 | Internal error. |
| 16000053 | The ability is not on the top of the UI. |
| 16000053 | The ability is not on the top of the UI. |
| 16000055 | Installation-free timed out. |
| 16000055 | Installation-free timed out. |
...
@@ -413,6 +418,7 @@ startAbilityForResult(want: Want, options?: StartOptions): Promise<AbilityRes
...
@@ -413,6 +418,7 @@ startAbilityForResult(want: Want, options?: StartOptions): Promise<AbilityRes
| 16000009 | An ability cannot be started or stopped in Wukong mode. |
| 16000009 | An ability cannot be started or stopped in Wukong mode. |
| 16000010 | The call with the continuation flag is forbidden. |
| 16000010 | The call with the continuation flag is forbidden. |
| 16000011 | The context does not exist. |
| 16000011 | The context does not exist. |
| 16000017 | The previous ability is starting, wait start later. |
| 16000050 | Internal error. |
| 16000050 | Internal error. |
| 16000053 | The ability is not on the top of the UI. |
| 16000053 | The ability is not on the top of the UI. |
| 16000055 | Installation-free timed out. |
| 16000055 | Installation-free timed out. |
...
@@ -480,6 +486,7 @@ startAbilityForResultWithAccount(want: Want, accountId: number, callback: AsyncC
...
@@ -480,6 +486,7 @@ startAbilityForResultWithAccount(want: Want, accountId: number, callback: AsyncC
| 16000009 | An ability cannot be started or stopped in Wukong mode. |
| 16000009 | An ability cannot be started or stopped in Wukong mode. |
| 16000010 | The call with the continuation flag is forbidden. |
| 16000010 | The call with the continuation flag is forbidden. |
| 16000011 | The context does not exist. |
| 16000011 | The context does not exist. |
| 16000017 | The previous ability is starting, wait start later. |
| 16000050 | Internal error. |
| 16000050 | Internal error. |
| 16000053 | The ability is not on the top of the UI. |
| 16000053 | The ability is not on the top of the UI. |
| 16000055 | Installation-free timed out. |
| 16000055 | Installation-free timed out. |
...
@@ -549,6 +556,7 @@ startAbilityForResultWithAccount(want: Want, accountId: number, options: StartOp
...
@@ -549,6 +556,7 @@ startAbilityForResultWithAccount(want: Want, accountId: number, options: StartOp
| 16000009 | An ability cannot be started or stopped in Wukong mode. |
| 16000009 | An ability cannot be started or stopped in Wukong mode. |
| 16000010 | The call with the continuation flag is forbidden. |
| 16000010 | The call with the continuation flag is forbidden. |
| 16000011 | The context does not exist. |
| 16000011 | The context does not exist. |
| 16000017 | The previous ability is starting, wait start later. |
| 16000050 | Internal error. |
| 16000050 | Internal error. |
| 16000053 | The ability is not on the top of the UI. |
| 16000053 | The ability is not on the top of the UI. |
| 16000055 | Installation-free timed out. |
| 16000055 | Installation-free timed out. |
...
@@ -626,6 +634,7 @@ startAbilityForResultWithAccount(want: Want, accountId: number, options?: StartO
...
@@ -626,6 +634,7 @@ startAbilityForResultWithAccount(want: Want, accountId: number, options?: StartO
| 16000009 | An ability cannot be started or stopped in Wukong mode. |
| 16000009 | An ability cannot be started or stopped in Wukong mode. |
| 16000010 | The call with the continuation flag is forbidden. |
| 16000010 | The call with the continuation flag is forbidden. |
| 16000011 | The context does not exist. |
| 16000011 | The context does not exist. |
| 16000017 | The previous ability is starting, wait start later. |
| 16000050 | Internal error. |
| 16000050 | Internal error. |
| 16000053 | The ability is not on the top of the UI. |
| 16000053 | The ability is not on the top of the UI. |
| 16000055 | Installation-free timed out. |
| 16000055 | Installation-free timed out. |
...
@@ -1583,6 +1592,7 @@ startAbilityByCall(want: Want): Promise<Caller>;
...
@@ -1583,6 +1592,7 @@ startAbilityByCall(want: Want): Promise<Caller>;
| 16000009 | An ability cannot be started or stopped in Wukong mode. |
| 16000009 | An ability cannot be started or stopped in Wukong mode. |
| 16000010 | The call with the continuation flag is forbidden. |
| 16000010 | The call with the continuation flag is forbidden. |
| 16000011 | The context does not exist. |
| 16000011 | The context does not exist. |
| 16000017 | The previous ability is starting, wait start later. |
| 16000050 | Internal error. |
| 16000050 | Internal error. |
| 16000053 | The ability is not on the top of the UI. |
| 16000053 | The ability is not on the top of the UI. |
| 16000055 | Installation-free timed out. |
| 16000055 | Installation-free timed out. |
...
@@ -1688,6 +1698,7 @@ startAbilityWithAccount(want: Want, accountId: number, callback: AsyncCallback\<
...
@@ -1688,6 +1698,7 @@ startAbilityWithAccount(want: Want, accountId: number, callback: AsyncCallback\<
| 16000009 | An ability cannot be started or stopped in Wukong mode. |
| 16000009 | An ability cannot be started or stopped in Wukong mode. |
| 16000010 | The call with the continuation flag is forbidden. |
| 16000010 | The call with the continuation flag is forbidden. |
| 16000011 | The context does not exist. |
| 16000011 | The context does not exist. |
| 16000017 | The previous ability is starting, wait start later. |
| 16000050 | Internal error. |
| 16000050 | Internal error. |
| 16000053 | The ability is not on the top of the UI. |
| 16000053 | The ability is not on the top of the UI. |
| 16000055 | Installation-free timed out. |
| 16000055 | Installation-free timed out. |
...
@@ -1756,6 +1767,7 @@ startAbilityWithAccount(want: Want, accountId: number, options: StartOptions, ca
...
@@ -1756,6 +1767,7 @@ startAbilityWithAccount(want: Want, accountId: number, options: StartOptions, ca
| 16000009 | An ability cannot be started or stopped in Wukong mode. |
| 16000009 | An ability cannot be started or stopped in Wukong mode. |
| 16000010 | The call with the continuation flag is forbidden. |
| 16000010 | The call with the continuation flag is forbidden. |
| 16000011 | The context does not exist. |
| 16000011 | The context does not exist. |
| 16000017 | The previous ability is starting, wait start later. |
| 16000050 | Internal error. |
| 16000050 | Internal error. |
| 16000053 | The ability is not on the top of the UI. |
| 16000053 | The ability is not on the top of the UI. |
| 16000055 | Installation-free timed out. |
| 16000055 | Installation-free timed out. |
...
@@ -1826,6 +1838,7 @@ startAbilityWithAccount(want: Want, accountId: number, options?: StartOptions):
...
@@ -1826,6 +1838,7 @@ startAbilityWithAccount(want: Want, accountId: number, options?: StartOptions):
| 16000009 | An ability cannot be started or stopped in Wukong mode. |
| 16000009 | An ability cannot be started or stopped in Wukong mode. |
| 16000010 | The call with the continuation flag is forbidden. |
| 16000010 | The call with the continuation flag is forbidden. |
| 16000011 | The context does not exist. |
| 16000011 | The context does not exist. |
| 16000017 | The previous ability is starting, wait start later. |
| 16000050 | Internal error. |
| 16000050 | Internal error. |
| 16000053 | The ability is not on the top of the UI. |
| 16000053 | The ability is not on the top of the UI. |
| 16000055 | Installation-free timed out. |
| 16000055 | Installation-free timed out. |
...
...
zh-cn/application-dev/reference/errorcodes/errorcode-ability.md
浏览文件 @
6ca007c3
...
@@ -186,6 +186,24 @@ Context does not exist.
...
@@ -186,6 +186,24 @@ Context does not exist.
请检查上下文对象是否可用。
请检查上下文对象是否可用。
## 16000017 上一个Ability未启动完成,先缓存在队列中等待后续启动。
**错误信息**
The previous ability is starting, wait start later.
**错误描述**
需要启动的Ability过多,由于系统处理能力有限,会先将请求缓存在队列中,按照顺序依次处理。
**可能原因**
系统并发大。
**处理步骤**
无需处理,等待启动即可。
## 16000050 内部错误
## 16000050 内部错误
**错误信息**
**错误信息**
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录