• 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
16import { ElementName }  from './ElementName';
17
18/**
19 * Contains basic remote ability information.
20 * @typedef RemoteAbilityInfo
21 * @syscap SystemCapability.BundleManager.DistributedBundleFramework
22 * @systemapi
23 * @since 9
24 */
25export interface RemoteAbilityInfo {
26  /**
27   * Indicates the ability information
28   * @type {ElementName}
29   * @syscap SystemCapability.BundleManager.DistributedBundleFramework
30   * @since 9
31   */
32  readonly elementName: ElementName;
33
34  /**
35   * Indicates the label of the ability
36   * @type {string}
37   * @syscap SystemCapability.BundleManager.DistributedBundleFramework
38   * @since 9
39   */
40  readonly label: string;
41
42  /**
43   * Indicates the icon of the ability
44   * @type {string}
45   * @syscap SystemCapability.BundleManager.DistributedBundleFramework
46   * @since 9
47   */
48  readonly icon: string;
49}