• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# LauncherAbilityInfo (System API)
2<!--Kit: Ability Kit-->
3<!--Subsystem: BundleManager-->
4<!--Owner: @wanghang904-->
5<!--Designer: @hanfeng6-->
6<!--Tester: @kongjing2-->
7<!--Adviser: @Brilliantry_Rui-->
8
9The LauncherAbilityInfo module provides information about the launcher ability, which is obtained through [innerBundleManager.getLauncherAbilityInfos](js-apis-Bundle-InnerBundleManager-sys.md#innerbundlemanagergetlauncherabilityinfosdeprecated).
10
11> **NOTE**
12>
13> The initial APIs of this module are supported since API version 8. Newly added APIs will be marked with a superscript to indicate their earliest API version.
14>
15> The APIs of this module are deprecated since API version 9. You are advised to use [bundleManager-LauncherAbilityInfo](js-apis-bundleManager-launcherAbilityInfo.md) instead.
16>
17> The APIs provided by this module are system APIs.
18
19## LauncherAbilityInfo<sup>(deprecated)<sup>
20
21This API is deprecated since API version 9. You are advised to use [bundleManager-LauncherAbilityInfo](js-apis-bundleManager-launcherAbilityInfo.md) instead.
22
23**System capability**: SystemCapability.BundleManager.BundleFramework
24
25**System API**: This is a system API.
26
27| Name           | Type                                                | Read-Only| Optional| Description                                  |
28| --------------- | ---------------------------------------------------- | ---- | ---- | -------------------------------------- |
29| applicationInfo | [ApplicationInfo](js-apis-bundle-ApplicationInfo.md) | Yes  | No  | Application information of the launcher ability.|
30| elementName     | [ElementName](js-apis-bundle-ElementName.md)         | Yes  | No  | Element name of the launcher ability.   |
31| labelId         | number                                               | Yes  | No  | ID of the launcher ability label.            |
32| iconId          | number                                               | Yes  | No  | ID of the launcher ability icon.            |
33| userId          | number                                               | Yes  | No  | User ID of the launcher ability.            |
34| installTime     | number                                               | Yes  | No  | Timestamp when the launcher ability was installed, in milliseconds.       |
35