DispatchInfo (System API)
The module provides version information about the dispatchInfo struct and dispatch API. The information can be obtained through freeInstall.getDispatchInfo.
NOTE
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.
The APIs provided by this module are system APIs.
Modules to Import
import { freeInstall } from '@kit.AbilityKit';
DispatchInfo
System API: This is a system API.
System capability: SystemCapability.BundleManager.BundleFramework.FreeInstall
| Name | Type | Read-Only | Optional | Description |
|---|---|---|---|---|
| version | string | Yes | No | Version of the dispatchInfo struct. |
| dispatchAPIVersion | string | Yes | No | Version of the dispatch API. |