• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# DispatchInfo (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 provides version information about the dispatchInfo struct and dispatch API. The information can be obtained through [freeInstall.getDispatchInfo](js-apis-freeInstall-sys.md#getdispatchinfo).
10
11> **NOTE**
12>
13> The initial APIs of this module are supported since API version 9. Newly added APIs will be marked with a superscript to indicate their earliest API version.
14>
15> The APIs provided by this module are system APIs.
16
17## Modules to Import
18
19```js
20import { freeInstall } from '@kit.AbilityKit';
21```
22
23## DispatchInfo
24
25**System API**: This is a system API.
26
27**System capability**: SystemCapability.BundleManager.BundleFramework.FreeInstall
28
29| Name       | Type  | Read-Only| Optional| Description                    |
30| ----------- | ------ | ---- | ---- | ------------------------ |
31| version     | string | Yes  | No  | Version of the dispatchInfo struct.|
32| dispatchAPIVersion | string | Yes  | No  | Version of the dispatch API.    |
33