提交 e3ee89e3 编写于 作者: X xsz233

doc modify

Signed-off-by: Nxsz233 <xushizhe@huawei.com>
上级 936d35aa
......@@ -26,7 +26,7 @@ SystemCapability.BundleManager.DistributedBundleFramework
## distributedBundle.getRemoteAbilityInfo<sup>deprecated<sup>
> 从API version 9开始不再维护,建议使用[getRemoteAbilityInfo](js-apis-distributedBundle.md)替代。
> 从API version 9开始不再维护,建议使用[getRemoteAbilityInfo(@ohos.bundle.distributedBundle)](js-apis-distributedBundle.md)替代。
getRemoteAbilityInfo(elementName: ElementName, callback: AsyncCallback&lt;RemoteAbilityInfo&gt;): void;
......@@ -55,7 +55,7 @@ SystemCapability.BundleManager.DistributedBundleFramework
## distributedBundle.getRemoteAbilityInfo<sup>deprecated<sup>
> 从API version 9开始不再维护,建议使用[getRemoteAbilityInfo](js-apis-distributedBundle.md)替代。
> 从API version 9开始不再维护,建议使用[getRemoteAbilityInfo(@ohos.bundle.distributedBundle)](js-apis-distributedBundle.md)替代。
getRemoteAbilityInfo(elementName: ElementName): Promise&lt;RemoteAbilityInfo&gt;
......@@ -87,7 +87,7 @@ SystemCapability.BundleManager.DistributedBundleFramework
## distributedBundle.getRemoteAbilityInfos<sup>deprecated<sup>
> 从API version 9开始不再维护,建议使用[getRemoteAbilityInfo](js-apis-distributedBundle.md)替代。
> 从API version 9开始不再维护,建议使用[getRemoteAbilityInfo(@ohos.bundle.distributedBundle)](js-apis-distributedBundle.md)替代。
getRemoteAbilityInfos(elementNames: Array&lt;ElementName&gt;, callback: AsyncCallback&lt;Array&lt;RemoteAbilityInfo&gt;&gt;): void;
......@@ -116,7 +116,7 @@ SystemCapability.BundleManager.DistributedBundleFramework
## distributedBundle.getRemoteAbilityInfos<sup>deprecated<sup>
> 从API version 9开始不再维护,建议使用[getRemoteAbilityInfo](js-apis-distributedBundle.md)替代。
> 从API version 9开始不再维护,建议使用[getRemoteAbilityInfo(@ohos.bundle.distributedBundle)](js-apis-distributedBundle.md)替代。
getRemoteAbilityInfos(elementNames: Array&lt;ElementName&gt;): Promise&lt;Array&lt;RemoteAbilityInfo&gt;&gt;
......
......@@ -116,6 +116,7 @@ bundle.getApplicationInfo(bundleName, bundleFlags, userId, (err, data) => {
getApplicationInfo(bundleName: string, bundleFlags: number, callback: AsyncCallback\<ApplicationInfo>): void
以异步方法根据给定的包名获取ApplicationInfo,使用callback形式返回结果。
**需要权限:**
ohos.permission.GET_BUNDLE_INFO_PRIVILEGED 或 ohos.permission.GET_BUNDLE_INFO
......
......@@ -9,7 +9,7 @@ ElementName信息,通过接口[Context.getElementName](js-apis-Context.md)获
## ElementName<sup>(deprecated)</sup>
> 从API version 9开始不再维护,建议使用[ElementName](js-apis-bundleManager-elementName.md)替代。
> 从API version 9开始不再维护,建议使用[bundleManager-ElementName](js-apis-bundleManager-elementName.md)替代。
ElementName信息,标识Ability的基本信息,通过接口[Context.getElementName](js-apis-Context.md)获取。
......
......@@ -13,7 +13,7 @@
## ShortcutWant<sup>(deprecated)<sup>
> 从API version 9开始不再维护,建议使用[ShortcutWant](js-apis-bundleManager-shortcutInfo.md)替代
> 从API version 9开始不再维护,建议使用[bundleManager-ShortcutWant](js-apis-bundleManager-shortcutInfo.md)替代
**系统能力:** 以下各项对应的系统能力均为SystemCapability.BundleManager.BundleFramework
......@@ -26,7 +26,7 @@
## ShortcutInfo<sup>(deprecated)<sup>
> 从API version 9开始不再维护,建议使用[ShortcutInfo](js-apis-bundleManager-shortcutInfo.md)替代。
> 从API version 9开始不再维护,建议使用[bundleManager-ShortcutInfo](js-apis-bundleManager-shortcutInfo.md)替代。
**系统能力:** 以下各项对应的系统能力均为SystemCapability.BundleManager.BundleFramework
......
......@@ -17,7 +17,7 @@ import package from '@system.package';
## package.hasInstalled<sup>(deprecated)</sup>
> 从API version 9开始不再维护,推荐使用该模块[`@ohos.bundle.bundleManager`](js-apis-bundleManager.md)。
> 从API version 9开始不再维护,推荐使用该模块[@ohos.bundle.bundleManager](js-apis-bundleManager.md)。
hasInstalled(Object): void
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册