1/* 2 * Copyright (c) 2022 Huawei Device Co., Ltd. 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 14 */ 15 16/** 17 * @file 18 * @kit AbilityKit 19 */ 20 21/** 22 * Indicates the Metadata 23 * 24 * @typedef Metadata 25 * @syscap SystemCapability.BundleManager.BundleFramework.Core 26 * @since 9 27 */ 28/** 29 * Indicates the Metadata 30 * 31 * @typedef Metadata 32 * @syscap SystemCapability.BundleManager.BundleFramework.Core 33 * @crossplatform 34 * @since 10 35 */ 36/** 37 * Indicates the Metadata 38 * 39 * @typedef Metadata 40 * @syscap SystemCapability.BundleManager.BundleFramework.Core 41 * @crossplatform 42 * @atomicservice 43 * @since 11 44 */ 45export interface Metadata { 46 /** 47 * Indicates the metadata name 48 * 49 * @type { string } 50 * @syscap SystemCapability.BundleManager.BundleFramework.Core 51 * @since 9 52 */ 53 /** 54 * Indicates the metadata name 55 * 56 * @type { string } 57 * @syscap SystemCapability.BundleManager.BundleFramework.Core 58 * @crossplatform 59 * @since 10 60 */ 61 /** 62 * Indicates the metadata name 63 * 64 * @type { string } 65 * @syscap SystemCapability.BundleManager.BundleFramework.Core 66 * @crossplatform 67 * @atomicservice 68 * @since 11 69 */ 70 name: string; 71 72 /** 73 * Indicates the metadata value 74 * 75 * @type { string } 76 * @syscap SystemCapability.BundleManager.BundleFramework.Core 77 * @since 9 78 */ 79 /** 80 * Indicates the metadata value 81 * 82 * @type { string } 83 * @syscap SystemCapability.BundleManager.BundleFramework.Core 84 * @crossplatform 85 * @since 10 86 */ 87 /** 88 * Indicates the metadata value 89 * 90 * @type { string } 91 * @syscap SystemCapability.BundleManager.BundleFramework.Core 92 * @crossplatform 93 * @atomicservice 94 * @since 11 95 */ 96 value: string; 97 98 /** 99 * Indicates the metadata resource 100 * 101 * @type { string } 102 * @syscap SystemCapability.BundleManager.BundleFramework.Core 103 * @since 9 104 */ 105 /** 106 * Indicates the metadata resource 107 * 108 * @type { string } 109 * @syscap SystemCapability.BundleManager.BundleFramework.Core 110 * @crossplatform 111 * @since 10 112 */ 113 /** 114 * Indicates the metadata resource 115 * 116 * @type { string } 117 * @syscap SystemCapability.BundleManager.BundleFramework.Core 118 * @crossplatform 119 * @atomicservice 120 * @since 11 121 */ 122 resource: string; 123} 124