js-apis-bundle-LauncherAbilityInfo.md 1.8 KB
Newer Older
1 2
# LauncherAbilityInfo

3
The **LauncherAbilityInfo** module provides information about the launcher ability, which is obtained through [innerBundleManager.getLauncherAbilityInfos](js-apis-Bundle-InnerBundleManager.md).
4 5 6 7 8

> **NOTE**
>
> 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.

9 10
## LauncherAbilityInfo<sup>(deprecated)<sup>

G
Gloria 已提交
11
> This API is deprecated since API version 9. You are advised to use [bundleManager-LauncherAbilityInfo](js-apis-bundleManager-launcherAbilityInfo.md) instead.
12 13 14

**System capability**: SystemCapability.BundleManager.BundleFramework

15 16
**System API**: This is a system API and cannot be called by third-party applications.

17 18
| Name           | Type                                                | Readable| Writable| Description                                  |
| --------------- | ---------------------------------------------------- | ---- | ---- | -------------------------------------- |
19 20
| applicationInfo | [ApplicationInfo](js-apis-bundle-ApplicationInfo.md) | Yes  | No  | Application information of the launcher ability.|
| elementName     | [ElementName](js-apis-bundle-ElementName.md)         | Yes  | No  | Element name of the launcher ability.   |
G
Gloria 已提交
21 22 23
| labelId         | number                                               | Yes  | No  | ID of the launcher ability label.            |
| iconId          | number                                               | Yes  | No  | ID of the launcher ability icon.            |
| userId          | number                                               | Yes  | No  | ID of the launcher ability user.            |
24
| installTime     | number                                               | Yes  | No  | Time when the launcher ability is installed.          |