RecoverableApplicationInfo (System API)
The module defines the information about a preinstalled application that can be restored after being uninstalled. The information can be obtained through bundleManager.getRecoverableApplicationInfo.
NOTE
The initial APIs of this module are supported since API version 11. 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 { bundleManager } from '@kit.AbilityKit';
RecoverableApplicationInfo
Defines the information about a preinstalled application that can be restored after being uninstalled.
System API: This is a system API.
System capability: SystemCapability.BundleManager.BundleFramework.Core
| Name | Type | Read-Only | Optional | Description |
|---|---|---|---|---|
| bundleName | string | Yes | No | Bundle name. |
| moduleName | string | Yes | No | Module name. |
| labelId | number | Yes | No | ID of the module label. |
| iconId | number | Yes | No | ID of the module icon. |
| systemApp12+ | boolean | Yes | No | Whether the application is a system application. true if it is a system application, false otherwise. |
| bundleType12+ | bundleManager.BundleType | Yes | No | Bundle type. |
| codePaths12+ | Array<string> | Yes | No | Installation directory of the application. |
你可能感兴趣的鸿蒙文章
openharmony 鸿蒙 js-apis-app-ability-appServiceExtensionAbility
openharmony 鸿蒙 js-apis-inner-wantAgent-triggerInfo-sys
openharmony 鸿蒙 js-apis-inner-wantAgent-wantAgentInfo-sys
openharmony 鸿蒙 js-apis-appControl-sys
openharmony 鸿蒙 js-apis-app-ability-environmentCallback
openharmony 鸿蒙 js-apis-inner-application-missionInfo-sys
openharmony 鸿蒙 js-apis-bundleManager-sharedBundleInfo-sys
openharmony 鸿蒙 js-apis-inner-application-continueMissionInfo-sys
openharmony 鸿蒙 js-apis-inner-application-appServiceExtensionContext
openharmony 鸿蒙 js-apis-bundleManager-businessAbilityInfo-sys