js-apis-bundleManager-metadata.md 764 字节
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
# Metadata

The **metadata** module provides the configuration about the module, ability, and Extension ability. The value is of the array type. The configuration is valid only for the current module, ability, or Extension ability.

> **NOTE**
> 
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.
## Metadata
**System capability**: SystemCapability.BundleManager.BundleFramework.Core

| Name    | Type  | Readable| Writable| Description      |
| -------- | ------ | ---- | ---- | ---------- |
| name     | string | Yes  | Yes  | Metadata name.|
| value    | string | Yes  | Yes  | Metadata value.  |
| resource | string | Yes  | Yes  | Metadata resource.|