未验证 提交 074224d9 编写于 作者: Z zengyawen 提交者: Gitee

update zh-cn/application-dev/reference/apis/js-apis-Bundle.md.

Signed-off-by: Nzengyawen <zengyawen1@huawei.com>
上级 9024154a
...@@ -495,7 +495,7 @@ bundle.getAllApplicationInfo(bundleFlags, (err, data) => { ...@@ -495,7 +495,7 @@ bundle.getAllApplicationInfo(bundleFlags, (err, data) => {
## bundle.getBundleArchiveInfo ## bundle.getBundleArchiveInfo
getBundleArchiveInfo(hapFilePath: string, bundleFlags: number) : Promise<BundleInfo> getBundleArchiveInfo(hapFilePath: string, bundleFlags: number) : Promise\<BundleInfo>
以异步方法获取有关HAP包中包含的应用程序包的信息,使用Promise形式返回结果。 以异步方法获取有关HAP包中包含的应用程序包的信息,使用Promise形式返回结果。
...@@ -530,7 +530,7 @@ bundle.getBundleArchiveInfo(hapFilePath, bundleFlags) ...@@ -530,7 +530,7 @@ bundle.getBundleArchiveInfo(hapFilePath, bundleFlags)
## bundle.getBundleArchiveInfo ## bundle.getBundleArchiveInfo
getBundleArchiveInfo(hapFilePath: string, bundleFlags: number, callback: AsyncCallback<BundleInfo>) : void getBundleArchiveInfo(hapFilePath: string, bundleFlags: number, callback: AsyncCallback\<BundleInfo>) : void
以异步方法获取有关HAP包中包含的应用程序包的信息,使用callback形式返回结果。 以异步方法获取有关HAP包中包含的应用程序包的信息,使用callback形式返回结果。
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册