Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Docs
提交
1893d760
D
Docs
项目概览
OpenHarmony
/
Docs
接近 2 年 前同步成功
通知
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看板
提交
1893d760
编写于
5月 04, 2023
作者:
J
jiangminsen
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
资料api一致性问题修复
Signed-off-by:
N
jiangminsen
<
jiangminsen@huawei.com
>
上级
489f7e15
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
0 addition
and
28 deletion
+0
-28
zh-cn/application-dev/reference/apis/js-apis-bundleManager.md
...n/application-dev/reference/apis/js-apis-bundleManager.md
+0
-21
zh-cn/application-dev/reference/apis/js-apis-defaultAppManager.md
...plication-dev/reference/apis/js-apis-defaultAppManager.md
+0
-3
zh-cn/application-dev/reference/apis/js-apis-overlay.md
zh-cn/application-dev/reference/apis/js-apis-overlay.md
+0
-4
未找到文件。
zh-cn/application-dev/reference/apis/js-apis-bundleManager.md
浏览文件 @
1893d760
...
...
@@ -400,7 +400,6 @@ getBundleInfo(bundleName: string, bundleFlags: number, callback: AsyncCallback\<
| 错误码ID | 错误信息 |
| -------- | ------------------------------------- |
| 17700001 | The specified bundleName is not found. |
| 17700004 | The specified user ID is not found. |
| 17700026 | The specified bundle is disabled. |
**示例:**
...
...
@@ -586,7 +585,6 @@ getApplicationInfo(bundleName: string, appFlags: [number](#applicationflag), cal
| 错误码ID | 错误信息 |
| -------- | --------------------------------------|
| 17700001 | The specified bundleName is not found. |
| 17700004 | The specified user ID is not found. |
| 17700026 | The specified bundle is disabled. |
**示例:**
...
...
@@ -736,14 +734,6 @@ getAllBundleInfo(bundleFlags: [number](#bundleflag), callback: AsyncCallback<Arr
| bundleFlags |
[
number
](
#bundleflag
)
| 是 | 指定返回的BundleInfo所包含的信息。 |
| callback | AsyncCallback
<Array
\<[
BundleInfo
](
js-apis-bundleManager-bundleInfo.md
)
>
> | 是 | 回调函数,当获取成功时,err为null,data为获取到的Array
\<
BundleInfo>;否则为错误对象。 |
**错误码:**
错误码的详细介绍请参见
[
ohos.bundle错误码
](
../errorcodes/errorcode-bundle.md
)
。
| 错误码ID | 错误信息 |
| -------- | ---------------------------------- |
| 17700004 | The specified user ID is not found. |
**示例:**
```
ts
...
...
@@ -883,14 +873,6 @@ getAllApplicationInfo(appFlags: [number](#applicationflag), callback: AsyncCallb
| appFlags |
[
number
](
#applicationflag
)
| 是 | 指定返回的ApplicationInfo所包含的信息。 |
| callback | AsyncCallback
<Array
\<[
ApplicationInfo
](
js-apis-bundleManager-applicationInfo.md
)
>
> | 是 | 回调函数,当获取成功时,err为null,data为获取到的Array
\<
ApplicationInfo>;否则为错误对象。 |
**错误码:**
错误码的详细介绍请参见
[
ohos.bundle错误码
](
../errorcodes/errorcode-bundle.md
)
。
| 错误码ID | 错误信息 |
| -------- | ---------------------------------- |
| 17700004 | The specified user ID is not found. |
**示例:**
```
ts
...
...
@@ -1049,7 +1031,6 @@ queryAbilityInfo(want: Want, abilityFlags: [number](#abilityflag), callback: Asy
| -------- | -------------------------------------- |
| 17700001 | The specified bundleName is not found. |
| 17700003 | The specified ability is not found. |
| 17700004 | The specified userId is invalid. |
| 17700026 | The specified bundle is disabled. |
| 17700029 | The specified ability is disabled. |
...
...
@@ -1246,7 +1227,6 @@ queryExtensionAbilityInfo(want: Want, extensionAbilityType: [ExtensionAbilityTyp
| -------- | -------------------------------------------- |
| 17700001 | The specified bundleName is not found. |
| 17700003 | The specified extensionAbility is not found. |
| 17700004 | The specified userId is invalid. |
| 17700026 | The specified bundle is disabled. |
**示例:**
...
...
@@ -2170,7 +2150,6 @@ getLaunchWantForBundle(bundleName: string, callback: AsyncCallback\<Want>): void
| 错误码ID | 错误信息 |
| -------- | --------------------------------------|
| 17700001 | The specified bundleName is not found. |
| 17700004 | The specified user ID is not found. |
| 17700026 | The specified bundle is disabled. |
**示例:**
...
...
zh-cn/application-dev/reference/apis/js-apis-defaultAppManager.md
浏览文件 @
1893d760
...
...
@@ -232,7 +232,6 @@ getDefaultApplication(type: string, callback: AsyncCallback\<BundleInfo>) : void
| 错误码ID | 错误信息 |
| -------- | ----------------------------------------- |
| 17700004 | The specified user ID is not found. |
| 17700023 | The specified default app does not exist. |
| 17700025 | The specified type is invalid. |
...
...
@@ -415,7 +414,6 @@ setDefaultApplication(type: string, elementName: ElementName, callback: AsyncCal
| 错误码ID | 错误信息 |
| -------- | ---------------------------------------------- |
| 17700004 | The specified user ID is not found. |
| 17700025 | The specified type is invalid. |
| 17700028 | The specified ability does not match the type. |
...
...
@@ -574,7 +572,6 @@ resetDefaultApplication(type: string, callback: AsyncCallback\<void>) : void;
| 错误码ID | 错误信息 |
| -------- | ----------------------------------- |
| 17700004 | The specified user ID is not found. |
| 17700025 | The specified type is invalid. |
**示例:**
...
...
zh-cn/application-dev/reference/apis/js-apis-overlay.md
浏览文件 @
1893d760
...
...
@@ -512,9 +512,7 @@ getOverlayModuleInfoByBundleName(bundleName: string, callback: AsyncCallback\<Ar
| 错误码ID | 错误信息 |
| ------ | -------------------------------------- |
| 17700001 | The specified bundleName is not found. |
| 17700002 | The specified module name is not found. |
| 17700032 | The specified bundle does not contain any overlay module. |
| 17700033 | The specified module is not an overlay module. |
**示例:**
...
...
@@ -662,8 +660,6 @@ getTargetOverlayModuleInfosByBundleName(targetBundleName: string, callback: Asyn
| 错误码ID | 错误信息 |
| ------ | -------------------------------------- |
| 17700001 | The specified bundleName is not found. |
| 17700002 | The specified module name is not found. |
| 17700034 | The specified module is an overlay module. |
| 17700035 | The specified bundle is an overlay bundle. |
**示例:**
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录