harmony 鸿蒙LauncherAbilityInfo (系统接口)

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

LauncherAbilityInfo (系统接口)

LauncherAbilityInfo信息,通过接口innerBundleManager.getLauncherAbilityInfos获取。

说明:

本模块首批接口从API version 8 开始支持。后续版本的新增接口,采用上角标单独标记接口的起始版本。

从API Version 9开始,该模块不再维护,建议使用bundleManager-LauncherAbilityInfo替代。

本模块为系统接口。

LauncherAbilityInfo(deprecated)

从API version 9开始不再维护,建议使用bundleManager-LauncherAbilityInfo替代。

系统能力: SystemCapability.BundleManager.BundleFramework

系统接口: 此接口为系统接口。

名称 类型 只读 可选 说明
applicationInfo ApplicationInfo launcher ability的应用程序的配置信息。
elementName ElementName launcher ability的ElementName信息。
labelId number launcher ability的标签的资源id值。
iconId number launcher ability的图标的资源id值。
userId number launcher ability的用户的资源id值。
installTime number launcher ability的安装时间。

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Ability Kit(程序框架服务)

harmony 鸿蒙AbilityBase

harmony 鸿蒙AbilityBase_Element

harmony 鸿蒙AbilityRuntime

harmony 鸿蒙bundle

harmony 鸿蒙OH_NativeBundle_ApplicationInfo

harmony 鸿蒙OH_NativeBundle_ElementName

harmony 鸿蒙ability_base_common.h

harmony 鸿蒙ability_runtime_common.h

harmony 鸿蒙application_context.h

0  赞