• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# LauncherAbilityResourceInfo (System API)
2<!--Kit: Ability Kit-->
3<!--Subsystem: BundleManager-->
4<!--Owner: @wanghang904-->
5<!--Designer: @hanfeng6-->
6<!--Tester: @kongjing2-->
7<!--Adviser: @Brilliantry_Rui-->
8
9The module provides resource information of the entry ability of an application, such as the icon and label. The information can be obtained by calling [getLauncherAbilityResourceInfo](js-apis-bundleResourceManager-sys.md#bundleresourcemanagergetlauncherabilityresourceinfo).
10
11> **NOTE**
12>
13> The initial APIs of this module are supported since API version 11. Newly added APIs will be marked with a superscript to indicate their earliest API version.
14>
15> The APIs provided by this module are system APIs.
16
17## Modules to Import
18
19```ts
20import { launcherBundleManager } from '@kit.AbilityKit';
21```
22
23## LauncherAbilityResourceInfo
24
25**System capability**: SystemCapability.BundleManager.BundleFramework.Resource
26
27**System API**: This is a system API.
28
29| Name                     | Type  | Read-Only| Optional| Description                |
30| ------------------------- | ------ | ---- | ---- | -------------------- |
31| bundleName              | string | Yes  | No  | Bundle name of the application.|
32| moduleName              | string | Yes  | No  | Module name of the application.|
33| abilityName              | string | Yes  | No  | Name of the entry ability.|
34| icon              | string | Yes  | No  | Application icon, which is encoded using Base64. |
35| label                     | string | Yes  | No  | Application label.|
36| drawableDescriptor<sup>12+</sup>                     | [DrawableDescriptor](../apis-arkui/js-apis-arkui-drawableDescriptor-sys.md) | Yes  | No  | drawableDescriptor object of the application icon.|
37| appIndex<sup>12+</sup>           | number | Yes  | No  | Index of an application clone.|
38