• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 */
31export interface Metadata {
32  /**
33   * Indicates the metadata name
34   *
35   * @type { string }
36   * @syscap SystemCapability.BundleManager.BundleFramework.Core
37   * @since 9
38   */
39  /**
40   * Indicates the metadata name
41   *
42   * @type { string }
43   * @syscap SystemCapability.BundleManager.BundleFramework.Core
44   * @crossplatform
45   * @since 10
46   */
47  name: string;
48
49  /**
50   * Indicates the metadata value
51   *
52   * @type { string }
53   * @syscap SystemCapability.BundleManager.BundleFramework.Core
54   * @since 9
55   */
56  /**
57   * Indicates the metadata value
58   *
59   * @type { string }
60   * @syscap SystemCapability.BundleManager.BundleFramework.Core
61   * @crossplatform
62   * @since 10
63   */
64  value: string;
65
66  /**
67   * Indicates the metadata resource
68   *
69   * @type { string }
70   * @syscap SystemCapability.BundleManager.BundleFramework.Core
71   * @since 9
72   */
73  /**
74   * Indicates the metadata resource
75   *
76   * @type { string }
77   * @syscap SystemCapability.BundleManager.BundleFramework.Core
78   * @crossplatform
79   * @since 10
80   */
81  resource: string;
82}
83