harmony 鸿蒙RecoverableApplicationInfo (System API)

  • 2025-06-12
  • 浏览 (5)

RecoverableApplicationInfo (System API)

The RecoverableApplicationInfo 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.

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. The value true means that the application is a system application, and false means the opposite.
bundleType12+ BundleType Yes No Bundle type, which can be APP (application) or ATOMIC_SERVICE (atomic service).
codePaths12+ Array<string> Yes No Installation directory of the application.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Ability Kit

harmony 鸿蒙AbilityAccessControl

harmony 鸿蒙AbilityBase

harmony 鸿蒙AbilityBase_Element

harmony 鸿蒙AbilityRuntime

harmony 鸿蒙bundle

harmony 鸿蒙OH_NativeBundle_ApplicationInfo

harmony 鸿蒙OH_NativeBundle_ElementName

harmony 鸿蒙ability_access_control.h

harmony 鸿蒙ability_base_common.h

0  赞