From cfede4a104c0aef2e78e20b3a9fdc7a855a31501 Mon Sep 17 00:00:00 2001 From: junyi233 Date: Thu, 15 Sep 2022 18:06:22 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=8C=85=E7=AE=A1=E7=90=86=E3=80=91?= =?UTF-8?q?=E6=89=AB=E6=8F=8F=E7=BC=BA=E9=99=B7=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: junyi233 --- zh-cn/application-dev/reference/apis/js-apis-Bundle.md | 2 +- .../reference/apis/js-apis-bundle-LauncherAbilityInfo.md | 2 ++ zh-cn/application-dev/reference/apis/js-apis-dispatchInfo.md | 4 +++- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/zh-cn/application-dev/reference/apis/js-apis-Bundle.md b/zh-cn/application-dev/reference/apis/js-apis-Bundle.md index 112186af09..c6d58000ae 100755 --- a/zh-cn/application-dev/reference/apis/js-apis-Bundle.md +++ b/zh-cn/application-dev/reference/apis/js-apis-Bundle.md @@ -141,7 +141,7 @@ bundle.getApplicationInfo(bundleName, bundleFlags, (err, data) => { ## bundle.getApplicationInfoSync9+ -getApplicationInfoSync(bundleName: string, bundleFlags: string, userId: number): ApplicationInfo; +getApplicationInfoSync(bundleName: string, bundleFlags: number, userId: number): ApplicationInfo; 以同步方法根据给定的包名获取ApplicationInfo,返回ApplicationInfo对象。 diff --git a/zh-cn/application-dev/reference/apis/js-apis-bundle-LauncherAbilityInfo.md b/zh-cn/application-dev/reference/apis/js-apis-bundle-LauncherAbilityInfo.md index c2ca416a6b..6ce763330e 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-bundle-LauncherAbilityInfo.md +++ b/zh-cn/application-dev/reference/apis/js-apis-bundle-LauncherAbilityInfo.md @@ -13,6 +13,8 @@ LauncherAbilityInfo信息 **系统能力:** 以下各项对应的系统能力均为SystemCapability.BundleManager.BundleFramework + **系统API:**此接口为系统接口,三方应用不支持调用 + | 名称 | 类型 | 可读 | 可写 | 说明 | | --------------- | ---------------------------------------------------- | ---- | ---- | ------------------------------------ | | applicationInfo | [ApplicationInfo](js-apis-bundle-ApplicationInfo.md) | 是 | 否 | launcher ability的应用程序的配置信息 | diff --git a/zh-cn/application-dev/reference/apis/js-apis-dispatchInfo.md b/zh-cn/application-dev/reference/apis/js-apis-dispatchInfo.md index 2ea328f845..11ebc8aa84 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-dispatchInfo.md +++ b/zh-cn/application-dev/reference/apis/js-apis-dispatchInfo.md @@ -13,8 +13,10 @@ **系统能力**: 以下各项对应的系统能力均为SystemCapability.BundleManager.BundleFramework +**系统API:**此接口为系统接口,三方应用不支持调用 + | 名称 | 类型 | 可读 | 可写 | 说明 | | ----------- | ------ | ---- | ---- | ------------------------ | -| verison | string | 是 | 否 | 包含dispatchInfo版本信息 | +| version | string | 是 | 否 | 包含dispatchInfo版本信息 | | dispatchAPI | string | 是 | 否 | 包含免安装接口版本号 | -- GitLab