1# ExtensionAbilityInfo 2 3The **ExtensionAbilityInfo** module defines the ExtensionAbility information. A system application can obtain its own or others' ExtensionAbility information through [bundleManager.getBundleInfo](js-apis-bundleManager.md#bundlemanagergetbundleinfo). A third-party application can obtain its own ExtensionAbility information through [getBundleInfoForSelf](js-apis-bundleManager.md#bundlemanagergetbundleinfoforself). The input parameter [bundleFlags](js-apis-bundleManager.md#bundleflag) must be set to **GET_BUNDLE_INFO_WITH_EXTENSION_ABILITY**. 4 5> **NOTE** 6> 7> The initial APIs of this module are supported since API version 9. Newly added APIs will be marked with a superscript to indicate their earliest API version. 8 9## ExtensionAbilityInfo 10 11**System capability**: SystemCapability.BundleManager.BundleFramework.Core 12 13| Name | Type | Readable| Writable| Description | 14| -------------------- | ------------------------------------------------------------ | ---- | ---- | ---------------------------------------------------- | 15| bundleName | string | Yes | No | Bundle name. | 16| moduleName | string | Yes | No | Name of the HAP file to which the ExtensionAbility belongs. | 17| name | string | Yes | No | Name of the ExtensionAbility. | 18| labelId | number | Yes | No | ID of the ExtensionAbility label. | 19| descriptionId | number | Yes | No | ID of the ExtensionAbility description. | 20| iconId | number | Yes | No | ID of the ExtensionAbility icon. | 21| exported | boolean | Yes | No | Whether the ExtensionAbility can be called by other bundles. | 22| extensionAbilityType | [ExtensionAbilityType](js-apis-bundleManager.md#extensionabilitytype) | Yes | No | Type of the ExtensionAbility. | 23| permissions | Array\<string> | Yes | No | Permissions required for other bundles to call the ExtensionAbility.| 24| applicationInfo | [ApplicationInfo](js-apis-bundleManager-applicationInfo.md) | Yes | No | Application information. | 25| metadata | Array\<[Metadata](js-apis-bundleManager-metadata.md)> | Yes | No | Metadata of the ExtensionAbility. | 26| enabled | boolean | Yes | No | Whether the ExtensionAbility is enabled. | 27| readPermission | string | Yes | No | Permission required for reading data from the ExtensionAbility. | 28| writePermission | string | Yes | No | Permission required for writing data to the ExtensionAbility. | 29