harmony 鸿蒙LauncherAbilityInfo

  • 2022-08-09
  • 浏览 (518)

LauncherAbilityInfo

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

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

LauncherAbilityInfo(deprecated)

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

系统能力: 以下各项对应的系统能力均为SystemCapability.BundleManager.BundleFramework。

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

名称 类型 可读 可写 说明
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 鸿蒙接口

harmony 鸿蒙系统公共事件定义(待停用)

harmony 鸿蒙系统公共事件定义

harmony 鸿蒙开发说明

harmony 鸿蒙企业设备管理概述(仅对系统应用开放)

harmony 鸿蒙BundleStatusCallback

harmony 鸿蒙@ohos.bundle.innerBundleManager (innerBundleManager模块)

harmony 鸿蒙@ohos.distributedBundle (分布式包管理)

harmony 鸿蒙@ohos.bundle (Bundle模块)

harmony 鸿蒙@ohos.enterprise.EnterpriseAdminExtensionAbility (企业设备管理扩展能力)

0  赞