• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# LauncherAbilityInfo
2<!--Kit: Ability Kit-->
3<!--Subsystem: BundleManager-->
4<!--Owner: @wanghang904-->
5<!--Designer: @hanfeng6-->
6<!--Tester: @kongjing2-->
7<!--Adviser: @Brilliantry_Rui-->
8
9The module describes the ability information of the launcher application. The information can be obtained by calling [getLauncherAbilityInfoSync](js-apis-launcherBundleManager.md#launcherbundlemanagergetlauncherabilityinfosync)<!--Del--> or [getLauncherAbilityInfo](js-apis-launcherBundleManager-sys.md#launcherbundlemanagergetlauncherabilityinfo9)<!--DelEnd-->.
10
11> **NOTE**
12>
13> The initial APIs of this module are supported since API version 18. Newly added APIs will be marked with a superscript to indicate their earliest API version.
14
15## Modules to Import
16
17```ts
18import { launcherBundleManager } from '@kit.AbilityKit';
19```
20
21## LauncherAbilityInfo
22
23**System capability**: SystemCapability.BundleManager.BundleFramework.Launcher
24
25| Name           | Type                                                       | Read Only| Optional| Description                                |
26| --------------- | ----------------------------------------------------------- | ---- | ---- | ------------------------------------ |
27| applicationInfo | [ApplicationInfo](js-apis-bundleManager-applicationInfo.md) | Yes  | No  | Application information of the launcher ability.|
28| elementName     | [ElementName](js-apis-bundleManager-elementName.md)         | Yes  | No  | Element name of the launcher ability.   |
29| labelId         | number                                                      | Yes  | No  | ID of the launcher ability label.     |
30| iconId          | number                                                      | Yes  | No  | ID of the launcher ability icon.     |
31| userId          | number                                                      | Yes  | No  | User ID of the launcher ability.            |
32| installTime     | number                                                      | Yes  | No  | Timestamp when the launcher ability was installed, in milliseconds.|
33