提交 c443ad88 编写于 作者: G geng-wenguang

完善资料

Signed-off-by: Ngeng-wenguang <gengwenguang@huawei.com>
上级 297f7218
......@@ -265,6 +265,8 @@ getBundleInfo(bundleName: string, bundleFlags: number, userId: number, callback:
以异步方法根据给定的bundleName、bundleFlags和userId获取BundleInfo,使用callback形式返回结果。
获取调用方自己的信息时不需要权限。
**系统接口:** 此接口为系统接口。
**需要权限:** ohos.permission.GET_BUNDLE_INFO_PRIVILEGED or ohos.permission.GET_BUNDLE_INFO
......@@ -340,6 +342,8 @@ getBundleInfo(bundleName: string, bundleFlags: number, callback: AsyncCallback\<
以异步方法根据给定的bundleName和bundleFlags获取BundleInfo,使用callback形式返回结果。
获取调用方自己的信息时不需要权限。
**系统接口:** 此接口为系统接口。
**需要权限:** ohos.permission.GET_BUNDLE_INFO_PRIVILEGED or ohos.permission.GET_BUNDLE_INFO
......@@ -392,6 +396,8 @@ getBundleInfo(bundleName: string, bundleFlags: [number](#bundleflag), userId?: n
以异步方法根据给定的bundleName、bundleFlags和userId获取BundleInfo,使用Promise形式返回结果。
获取调用方自己的信息时不需要权限。
**系统接口:** 此接口为系统接口。
**需要权限:** ohos.permission.GET_BUNDLE_INFO_PRIVILEGED or ohos.permission.GET_BUNDLE_INFO
......@@ -467,6 +473,8 @@ getApplicationInfo(bundleName: string, appFlags: [number](#applicationflag), use
以异步方法根据给定的bundleName、appFlags和userId获取ApplicationInfo,使用callback形式返回结果。
获取调用方自己的信息时不需要权限。
**系统接口:** 此接口为系统接口。
**需要权限:** ohos.permission.GET_BUNDLE_INFO_PRIVILEGED or ohos.permission.GET_BUNDLE_INFO
......@@ -520,6 +528,8 @@ getApplicationInfo(bundleName: string, appFlags: [number](#applicationflag), cal
以异步方法根据给定的bundleName和appFlags获取ApplicationInfo,使用callback形式返回结果。
获取调用方自己的信息时不需要权限。
**系统接口:** 此接口为系统接口。
**需要权限:** ohos.permission.GET_BUNDLE_INFO_PRIVILEGED or ohos.permission.GET_BUNDLE_INFO
......@@ -571,6 +581,8 @@ getApplicationInfo(bundleName: string, appFlags: [number](#applicationflag), use
以异步方法根据给定的bundleName、appFlags和userId获取ApplicationInfo,使用Promise形式返回结果。
获取调用方自己的信息时不需要权限。
**系统接口:** 此接口为系统接口。
**需要权限:** ohos.permission.GET_BUNDLE_INFO_PRIVILEGED or ohos.permission.GET_BUNDLE_INFO
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册