1# HapModuleInfo 2 3The **HapModuleInfo** module provides module information. Unless otherwise specified, all attributes are obtained through **GET_BUNDLE_DEFAULT**. 4 5> **NOTE** 6> 7> The initial APIs of this module are supported since API version 7. Newly added APIs will be marked with a superscript to indicate their earliest API version. 8> 9> API version 9 is a canary version for trial use. The APIs of this version may be unstable. 10 11## HapModuleInfo 12 13**System capability**: SystemCapability.BundleManager.BundleFramework 14 15| Name | Type | Readable| Writable| Description | 16| --------------------------------- | ------------------------------------------------------------ | ---- | ---- | -------------------- | 17| name | string | Yes | No | Module name. | 18| description | string | Yes | No | Module description. | 19| descriptionId | number | Yes | No | Module description ID. | 20| icon | string | Yes | No | Module icon. | 21| label | string | Yes | No | Module label. | 22| labelId | number | Yes | No | Module label ID. | 23| iconId | number | Yes | No | Module icon ID. | 24| backgroundImg | string | Yes | No | Module background image. | 25| supportedModes | number | Yes | No | Running modes supported by the module. | 26| reqCapabilities | Array\<string> | Yes | No | Capabilities required for module running. | 27| deviceTypes | Array\<string> | Yes | No | Device types supported by the module. | 28| abilityInfo | Array\<[AbilityInfo](js-apis-bundle-AbilityInfo.md)> | Yes | No | Ability information. | 29| moduleName | string | Yes | No | Module name. | 30| mainAbilityName | string | Yes | No | Name of the main ability. | 31| installationFree | boolean | Yes | No | Whether installation-free is supported. | 32| mainElementName<sup>9+</sup> | string | Yes | No | Information about the main ability. | 33| extensionAbilityInfo<sup>9+</sup> | Array\<[ExtensionAbilityInfo](js-apis-bundle-ExtensionAbilityInfo.md)> | Yes | No | Information about the Extension ability.| 34| metadata<sup>9+</sup> | Array\<[Metadata](js-apis-bundle-Metadata.md)> | Yes | No | Metadata of the ability. | 35