js-apis-bundle-LauncherAbilityInfo.md 1.8 KB
Newer Older
J
junyi233 已提交
1 2 3 4 5 6 7 8 9
# LauncherAbilityInfo



> ![icon-note.gif](public_sys-resources/icon-note.gif) **说明:**
> 本模块首批接口从API version 8 开始支持。后续版本的新增接口,采用上角标单独标记接口的起始版本。



10
LauncherAbilityInfo信息,通过接口[innerBundleManager.getLauncherAbilityInfos](js-apis-Bundle-InnerBundleManager.md)获取。
J
junyi233 已提交
11

W
wanghang 已提交
12 13
## LauncherAbilityInfo<sup>(deprecated)<sup>

14
> 从API version 9开始不再维护,建议使用[bundleManager-LauncherAbilityInfo](js-apis-bundleManager-launcherAbilityInfo.md)替代。
J
junyi233 已提交
15

16
 **系统能力:** 以下各项对应的系统能力均为SystemCapability.BundleManager.BundleFramework。
J
junyi233 已提交
17

18
 **系统API:** 此接口为系统接口,三方应用不支持调用。
J
junyi233 已提交
19

20 21 22 23 24 25 26 27
| 名称            | 类型                                                 | 可读 | 可写 | 说明                                   |
| --------------- | ---------------------------------------------------- | ---- | ---- | -------------------------------------- |
| applicationInfo | [ApplicationInfo](js-apis-bundle-ApplicationInfo.md) | 是   | 否   | launcher ability的应用程序的配置信息。 |
| elementName     | [ElementName](js-apis-bundle-ElementName.md)         | 是   | 否   | launcher ability的ElementName信息。    |
| labelId         | number                                               | 是   | 否   | launcher ability的标签ID。             |
| iconId          | number                                               | 是   | 否   | launcher ability的图标ID。             |
| userId          | number                                               | 是   | 否   | launcher ability的用户ID。             |
| installTime     | number                                               | 是   | 否   | launcher ability的安装时间。           |