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 * Indicates the Metadata 18 * 19 * @typedef Metadata 20 * @syscap SystemCapability.BundleManager.BundleFramework.Core 21 * @since 9 22 */ 23/** 24 * Indicates the Metadata 25 * 26 * @typedef Metadata 27 * @syscap SystemCapability.BundleManager.BundleFramework.Core 28 * @crossplatform 29 * @since 10 30 */ 31/** 32 * Indicates the Metadata 33 * 34 * @typedef Metadata 35 * @syscap SystemCapability.BundleManager.BundleFramework.Core 36 * @crossplatform 37 * @atomicservice 38 * @since 11 39 */ 40export interface Metadata { 41 /** 42 * Indicates the metadata name 43 * 44 * @type { string } 45 * @syscap SystemCapability.BundleManager.BundleFramework.Core 46 * @since 9 47 */ 48 /** 49 * Indicates the metadata name 50 * 51 * @type { string } 52 * @syscap SystemCapability.BundleManager.BundleFramework.Core 53 * @crossplatform 54 * @since 10 55 */ 56 /** 57 * Indicates the metadata name 58 * 59 * @type { string } 60 * @syscap SystemCapability.BundleManager.BundleFramework.Core 61 * @crossplatform 62 * @atomicservice 63 * @since 11 64 */ 65 name: string; 66 67 /** 68 * Indicates the metadata value 69 * 70 * @type { string } 71 * @syscap SystemCapability.BundleManager.BundleFramework.Core 72 * @since 9 73 */ 74 /** 75 * Indicates the metadata value 76 * 77 * @type { string } 78 * @syscap SystemCapability.BundleManager.BundleFramework.Core 79 * @crossplatform 80 * @since 10 81 */ 82 /** 83 * Indicates the metadata value 84 * 85 * @type { string } 86 * @syscap SystemCapability.BundleManager.BundleFramework.Core 87 * @crossplatform 88 * @atomicservice 89 * @since 11 90 */ 91 value: string; 92 93 /** 94 * Indicates the metadata resource 95 * 96 * @type { string } 97 * @syscap SystemCapability.BundleManager.BundleFramework.Core 98 * @since 9 99 */ 100 /** 101 * Indicates the metadata resource 102 * 103 * @type { string } 104 * @syscap SystemCapability.BundleManager.BundleFramework.Core 105 * @crossplatform 106 * @since 10 107 */ 108 /** 109 * Indicates the metadata resource 110 * 111 * @type { string } 112 * @syscap SystemCapability.BundleManager.BundleFramework.Core 113 * @crossplatform 114 * @atomicservice 115 * @since 11 116 */ 117 resource: string; 118} 119