• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# shortcutInfo (System API)
2<!--Kit: Ability Kit-->
3<!--Subsystem: BundleManager-->
4<!--Owner: @wanghang904-->
5<!--Designer: @hanfeng6-->
6<!--Tester: @kongjing2-->
7<!--Adviser: @Brilliantry_Rui-->
8
9The module defines shortcut information configured in the configuration file. For the FA model, the shortcut information is configured in the [config.json](../../quick-start/application-configuration-file-overview-fa.md) file. For the stage model, the information is configured in the configuration file under **resources/base/profile** in the development view.
10
11> **NOTE**
12>
13> The initial APIs of this module are supported since API version 7. Newly added APIs will be marked with a superscript to indicate their earliest API version.
14>
15> The APIs of this module are deprecated since API version 9. You are advised to use [bundleManager-ShortcutWant](js-apis-bundleManager-shortcutInfo.md) instead.
16>
17> The APIs provided by this module are system APIs.
18
19## ShortcutWant<sup>(deprecated)<sup>
20
21> This API is deprecated since API version 9. You are advised to use [bundleManager-ShortcutWant](js-apis-bundleManager-shortcutInfo.md#shortcutwant) instead.
22
23**System capability**: SystemCapability.BundleManager.BundleFramework
24
25**System API**: This is a system API and cannot be called by third-party applications.
26
27| Name                     | Type  | Read-Only| Optional| Description                |
28| ------------------------- | ------ | ---- | ---- | -------------------- |
29| targetBundle              | string | Yes  | No  | Target bundle of the shortcut.|
30| targetClass               | string | Yes  | No  | Target class required by the shortcut.|
31