1e41f4b71Sopenharmony_ci# Metadata 2e41f4b71Sopenharmony_ci 3e41f4b71Sopenharmony_ci元数据对象,可以通过[bundleManager.getBundleInfoForSelf](js-apis-bundleManager.md#bundlemanagergetbundleinfoforself)获取,其中入参bundleFlags至少包含GET_BUNDLE_INFO_WITH_METADATA。此对象在[ApplicationInfo](js-apis-bundleManager-applicationInfo.md)、[HapModuleInfo](js-apis-bundleManager-hapModuleInfo.md)、[AbilityInfo](js-apis-bundleManager-abilityInfo.md)、[ExtensionAbilityInfo](js-apis-bundleManager-extensionAbilityInfo.md)中均包含。 4e41f4b71Sopenharmony_ci 5e41f4b71Sopenharmony_ci> **说明:** 6e41f4b71Sopenharmony_ci> 本模块首批接口从API version 9 开始支持。后续版本的新增接口,采用上角标单独标记接口的起始版本。 7e41f4b71Sopenharmony_ci描述的module、uiAbility、extensionAbility配置信息,标签值为数组类型,该标签下的配置只对当前module、uiAbility或者extensionAbility生效。 8e41f4b71Sopenharmony_ci 9e41f4b71Sopenharmony_ci## Metadata 10e41f4b71Sopenharmony_ci 11e41f4b71Sopenharmony_ci**原子化服务API:** 从API version 11开始,该接口支持在原子化服务中使用。 12e41f4b71Sopenharmony_ci 13e41f4b71Sopenharmony_ci**系统能力**: SystemCapability.BundleManager.BundleFramework.Core 14e41f4b71Sopenharmony_ci| 名称 | 类型 | 只读 | 可选 | 说明 | 15e41f4b71Sopenharmony_ci| -------- | ------ | ---- | ---- | ---------- | 16e41f4b71Sopenharmony_ci| name | string | 否 | 否 | 元数据名称。 | 17e41f4b71Sopenharmony_ci| value | string | 否 | 否 | 元数据值。 | 18e41f4b71Sopenharmony_ci| resource | string | 否 | 否 | 元数据资源。 |