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 21import { ElementName } from './ElementName'; 22 23/** 24 * Contains basic remote ability information. 25 * 26 * @typedef RemoteAbilityInfo 27 * @syscap SystemCapability.BundleManager.DistributedBundleFramework 28 * @systemapi 29 * @since 9 30 */ 31export interface RemoteAbilityInfo { 32 /** 33 * Indicates the ability information 34 * 35 * @type { ElementName } 36 * @syscap SystemCapability.BundleManager.DistributedBundleFramework 37 * @systemapi 38 * @since 9 39 */ 40 readonly elementName: ElementName; 41 42 /** 43 * Indicates the label of the ability 44 * 45 * @type { string } 46 * @syscap SystemCapability.BundleManager.DistributedBundleFramework 47 * @systemapi 48 * @since 9 49 */ 50 readonly label: string; 51 52 /** 53 * Indicates the icon of the ability 54 * 55 * @type { string } 56 * @syscap SystemCapability.BundleManager.DistributedBundleFramework 57 * @systemapi 58 * @since 9 59 */ 60 readonly icon: string; 61} 62