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 8 30 * @deprecated since 9 31 * @useinstead ohos.bundle.distributedBundleManager.RemoteAbilityInfo 32 */ 33export interface RemoteAbilityInfo { 34 /** 35 * @type { ElementName } 36 * @default Indicates the ability information 37 * @syscap SystemCapability.BundleManager.DistributedBundleFramework 38 * @systemapi 39 * @since 8 40 * @deprecated since 9 41 */ 42 readonly elementName: ElementName; 43 44 /** 45 * @type { string } 46 * @default Indicates the label of the ability 47 * @syscap SystemCapability.BundleManager.DistributedBundleFramework 48 * @systemapi 49 * @since 8 50 * @deprecated since 9 51 */ 52 readonly label: string; 53 54 /** 55 * @type { string } 56 * @default Indicates the icon of the ability 57 * @syscap SystemCapability.BundleManager.DistributedBundleFramework 58 * @systemapi 59 * @since 8 60 * @deprecated since 9 61 */ 62 readonly icon: string; 63} 64