1# shortcutInfo 2 3> **说明:** 4> 本模块首批接口从API version 7 开始支持。后续版本的新增接口,采用上角标单独标记接口的起始版本。 5 6 7 8应用配置文件中定义的快捷方式信息,FA模型配置在[config.json](../../quick-start/application-configuration-file-overview-fa.md)文件中进行配置,Stage模型在开发视图的resources/base/profile下面定义配置文件即可。 9 10 11 12## ShortcutWant<sup>(deprecated)<sup> 13 14> 从API version 9开始不再维护,建议使用[bundleManager-ShortcutWant](js-apis-bundleManager-shortcutInfo.md)替代 15 16 **系统能力:** 以下各项对应的系统能力均为SystemCapability.BundleManager.BundleFramework 17 18 **系统API:** 此接口为系统接口,三方应用不支持调用 19 20| 名称 | 类型 | 可读 | 可写 | 说明 | 21| ------------------------- | ------ | ---- | ---- | -------------------- | 22| targetBundle | string | 是 | 否 | 快捷方式的目标捆绑包 | 23| targetClass | string | 是 | 否 | 快捷方式所需的目标类 | 24 25## ShortcutInfo<sup>(deprecated)<sup> 26 27> 从API version 9开始不再维护,建议使用[bundleManager-ShortcutInfo](js-apis-bundleManager-shortcutInfo.md)替代。 28 29 30 **系统能力:** 以下各项对应的系统能力均为SystemCapability.BundleManager.BundleFramework 31 32| 名称 | 类型 | 可读 | 可写 | 说明 | 33| ----------------------- | ------------------------------------------ | ---- | ---- | ---------------------------- | 34| id | string | 是 | 否 | 快捷方式所属应用程序的Id。 | 35| bundleName | string | 是 | 否 | 包含该快捷方式的Bundle名称。 | 36| hostAbility | string | 是 | 否 | 快捷方式的本地Ability信息。 | 37| icon | string | 是 | 否 | 快捷方式的图标。 | 38| iconId<sup>8+</sup> | number | 是 | 否 | 快捷方式的图标Id。 | 39| label | string | 是 | 否 | 快捷方式的名称。 | 40| labelId<sup>8+</sup> | number | 是 | 否 | 快捷方式的名称Id。 | 41| disableMessage | string | 是 | 否 | 快捷方式的禁用消息。 | 42| wants | Array<[ShortcutWant](#shortcutwant)> | 是 | 否 | 快捷方式意图列表。 | 43| isStatic | boolean | 是 | 否 | 快捷方式是否为静态。 | 44| isHomeShortcut | boolean | 是 | 否 | 快捷方式是否为主页面快捷方式。 | 45| isEnabled | boolean | 是 | 否 | 是否启用快捷方式。 |